mikroSDK Reference Manual
|
Go to the source code of this file.
Data Structures | |
struct | gl_point_t |
The context structure for storing coordinates of the point. More... | |
struct | gl_size_t |
The context structure for storing width and height in number of pixels on the screen. More... | |
struct | gl_rectangle_t |
The context structure for storing rectangle by its top left point and width and height (in pixels). More... | |
struct | gl_driver_t |
The context structure for storing driver configuration. More... | |
Typedefs | |
typedef int16_t | gl_int_t |
typedef uint16_t | gl_uint_t |
typedef int32_t | gl_long_int_t |
typedef uint32_t | gl_long_uint_t |
typedef uint16_t | gl_angle_t |
typedef int16_t | gl_coord_t |
typedef void(* | gl_fill_t) (gl_rectangle_t *rect, gl_color_t color) |
typedef void(* | gl_begin_frame_t) (gl_rectangle_t *rect) |
typedef void(* | gl_frame_data_t) (gl_color_t color) |
typedef void(* | gl_end_frame_t) () |
Enumerations | |
enum | gl_brush_style_t |
enum | gl_image_format_t |
enum | gl_font_orientation_t |
typedef int16_t gl_int_t |
16-bit integer is used for gl_int_t
typedef uint16_t gl_uint_t |
16-bit unsigned integer is used for gl_uint_t
typedef int32_t gl_long_int_t |
32-bit integer is used for gl_long_int_t
typedef uint32_t gl_long_uint_t |
32-bit unsigned integer is used for gl_long_uint_t
typedef uint16_t gl_angle_t |
The angle for the arc. Value should be positive. Value between 0 and 360 is expected, but if it happens to be bigger, it will be calculated like:
typedef int16_t gl_coord_t |
The coordinates on display are linked to its pixels. To target area 50 pixels away from top and 70 pixels away from left display's edge use coordinates: \( x = 70 \) and \( y = 50 \) .
typedef void(* gl_fill_t) (gl_rectangle_t *rect, gl_color_t color) |
Function used for drawing on display. Should be defined in driver.
typedef void(* gl_begin_frame_t) (gl_rectangle_t *rect) |
Function used for drawing on display. Should be defined in driver.
typedef void(* gl_frame_data_t) (gl_color_t color) |
Function used for drawing on display. Should be defined in driver.
typedef void(* gl_end_frame_t) () |
Function used for drawing on display. Should be defined in driver.
enum gl_brush_style_t |
Enum containing styles for brush that are supported in the drawing functions. It should be used for controlling the look of shapes that uses brush in drawing.
Enumerator | |
---|---|
GL_BRUSH_STYLE_NONE | Brush area will not be painted. |
GL_BRUSH_STYLE_FILL | Brush area will be painted with one color set by gl_set_brush_color . |
GL_BRUSH_STYLE_GRADIENT_TOP_DOWN | Brush area will be painted gradientally from top to bottom, with colors set by gl_set_brush_color_from for top part, and gl_set_brush_color_to for bottom part. |
GL_BRUSH_STYLE_GRADIENT_LEFT_RIGHT | Brush area will be painted gradientally from left to right, with colors set by gl_set_brush_color_from for left part, and gl_set_brush_color_to for right part. |
enum gl_image_format_t |
Enum containing predefined signs for image format. This format is supported in NECTO Studio's resource generator.
Enum containing options for orientation of the text. It should be used for controlling orientation of the text or single character when drawing.
Enumerator | |
---|---|
GL_FONT_HORIZONTAL | Text is horizontal. |
GL_FONT_VERTICAL | Text is vertical but characters in text are horizontal. |
GL_FONT_VERTICAL_COLUMN | Both text and characters in it are vertical. |