Overview

This is the primary header file for the CrossWorks Graphics Library.

For information on the use of this API, see CrossWorks Graphics Library.

API Summary

Context
CTL_GFX_CONTEXT_t Rectangle
CTL_GFX_DRIVER_t Graphics driver
ctl_gfx_context Active graphics context
ctl_gfx_driver Active graphics driver
ctl_gfx_select_driver Set active graphics driver
Control
ctl_gfx_flush Flush drawing pipeline
ctl_gfx_set_backlight Set backlight level
ctl_gfx_set_contrast Set contrast
ctl_gfx_set_rotation Set display rotation
Properties
CTL_GFX_PROPERTY_t Graphics controller properties
ctl_gfx_screen_height Inquire screen height
ctl_gfx_screen_width Inquire screen width
Drawing
CTL_GFX_POINT_t Graphics point
CTL_GFX_RECTANGLE_t Rectangle
CTL_GFX_RGB Create API pixel
ctl_gfx_draw_circle Draw circle
ctl_gfx_draw_line Draw line
ctl_gfx_draw_lines Draw polyline
ctl_gfx_draw_pixel Draw pixel
ctl_gfx_draw_rectangle_wh Draw rectangle
ctl_gfx_draw_rectangle_xy Draw rectangle
ctl_gfx_fill_circle Fill circle
ctl_gfx_fill_polygon Fill polygon
ctl_gfx_fill_rectangle_wh Fill rectangle
ctl_gfx_fill_rectangle_xy Fill rectangle
ctl_gfx_set_pen_color Set pen color
Text
CTL_GFX_BITMAP_FONT_t Raster font
CTL_GFX_GLYPH_t Graphics point
ctl_gfx_draw_char Draw character
ctl_gfx_draw_string Draw string
ctl_gfx_draw_stringn Draw length-limited string
ctl_gfx_set_text_color Set text color