Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ft8xx_dl.h File Reference

FT8XX display list commands. More...

#include <stdint.h>

Go to the source code of this file.

Macros

#define FT8XX_BITMAPS   1U
 Rectangular pixel arrays, in various color formats.
 
#define FT8XX_POINTS   2U
 Anti-aliased points, point radius is 1-256 pixels.
 
#define FT8XX_LINES   3U
 Anti-aliased lines, with width from 0 to 4095 1/16th of pixel units.
 
#define FT8XX_LINE_STRIP   4U
 Anti-aliased lines, connected head-to-tail.
 
#define FT8XX_EDGE_STRIP_R   5U
 Edge strips for right.
 
#define FT8XX_EDGE_STRIP_L   6U
 Edge strips for left.
 
#define FT8XX_EDGE_STRIP_A   7U
 Edge strips for above.
 
#define FT8XX_EDGE_STRIP_B   8U
 Edge strips for below.
 
#define FT8XX_RECTS   9U
 Round-cornered rectangles, curvature of the corners can be adjusted using FT8XX_LINE_WIDTH.
 
#define FT8XX_BEGIN(prim)   (0x1f000000 | ((prim) & 0x0f))
 Begin drawing a graphics primitive.
 
#define FT8XX_CLEAR(c, s, t)
 Clear buffers to preset values.
 
#define FT8XX_CLEAR_COLOR_RGB(red, green, blue)
 Specify clear values for red, green and blue channels.
 
#define FT8XX_COLOR_RGB(red, green, blue)
 Set the current color red, green and blue.
 
#define FT8XX_DISPLAY()   0
 End the display list.
 
#define FT8XX_END()   0x21000000
 End drawing a graphics primitive.
 
#define FT8XX_LINE_WIDTH(width)   (0x0e000000 | ((uint32_t)(width) & 0xfff))
 Specify the width of lines to be drawn with primitive FT8XX_LINES.
 
#define FT8XX_TAG(s)   (0x03000000 | (uint8_t)(s))
 Attach the tag value for the following graphics objects.
 
#define FT8XX_VERTEX2F(x, y)
 Start the operation of graphics primitives at the specified coordinate.
 
#define FT8XX_VERTEX2II(x, y, handle, cell)
 Start the operation of graphics primitive at the specified coordinates.
 

Detailed Description

FT8XX display list commands.