152#include "generic_pointer.h"
Definition of colors. Here predefined colors can be found.
uint16_t gl_color_t
Definition gl_colors.h:56
API for image drawing. Here can be found functions for getting information about image or drawing it.
API for different shape drawing. All function provided here requires setting parameters before call....
API for text drawing. After setting desired font (generated by NECTO Studio) drawing and taking infor...
Declaration of types for Graphic Library.
int16_t gl_coord_t
Definition gl_types.h:104
gl_font_orientation_t
Definition gl_types.h:86
gl_brush_style_t
Definition gl_types.h:60
void gl_set_pen_color(gl_color_t color)
Sets the active pen's color to color.
uint16_t gl_get_inner_pen()
Returns the inner width of active pen.
void gl_clear(gl_color_t color)
Paint hole display with color. If driver is not set then function do nothing.
void gl_set_font_orientation(gl_font_orientation_t orientation)
Sets the active font orientation to orientation.
void gl_set_driver(gl_driver_t *driver)
Sets the driver to the active state and enables drawing on whole display.
void gl_set_brush_style(gl_brush_style_t style)
Sets active brush style to style.
void gl_set_font(const uint8_t *font)
Initialize the active font to font. Active font is used for every text drawing.
void gl_set_pen_width(uint16_t width)
Sets the active pen width to width. This affects every future drawing of shape by displaying pen so t...
void gl_set_font_background_color(gl_color_t background)
Sets the active background color for texts to background.
void gl_set_brush_color(gl_color_t color)
Sets active brush color to color.
void gl_set_inner_pen(uint16_t width_inside_object)
Sets width of inner part of active pen to width_inside_object. The old width of the pen drew on the o...
void gl_set_brush_color_from(gl_color_t color)
Sets the active start color to color.
void gl_set_pen(gl_color_t color, uint16_t width)
Sets the active pen width to width and its color to color. This affects every future drawing of shape...
bool gl_set_crop_borders(gl_coord_t left, gl_coord_t top, gl_coord_t bottom, gl_coord_t right)
Initialize borders for drawing on display.
void gl_set_font_background(bool enable)
Sets active indicator for text backround to enable.
void gl_set_outer_pen(uint16_t width_outside_object)
Sets width of outer part of active pen to width_outside_object. The old width of the pen drew on the ...
uint16_t gl_get_outer_pen()
Returns the outer width of active pen.
void gl_set_brush_color_to(gl_color_t color)
Sets the active end color to color.
uint16_t gl_get_screen_width()
Returns the width of the display.
uint16_t gl_get_screen_height()
Returns the height of the display.
The context structure for storing driver configuration.
Definition gl_types.h:148