Overview

This is the primary header file for implementing device drivers for the CrossWorks Graphics Library.

API Summary

Setup
ctl_gfx_setup_begin Begin driver initialization
ctl_gfx_setup_end Finalize driver initialization
ctl_gfx_write_8b_commands Send 8-bit command sequence
Pixels
ctl_gfx_bgr_444 Convert 24-bit color to 12-bit BGR444
ctl_gfx_bgr_565 Convert 24-bit color to 16-bit BGR565
ctl_gfx_bgr_888 Convert 24-bit color to 24-bit BGR888
ctl_gfx_mono Convert monochrome to device-independent pixel
ctl_gfx_rgb_332 Convert 24-bit color to 8-bit RGB332
ctl_gfx_rgb_565 Convert 24-bit color to 16-bit RGB565
ctl_gfx_rgb_888 Convert 24-bit color to 24-bit RGB888
Fonts
ctl_gfx_find_glyph Find glyph in raster font