EasyManua.ls Logo

Bridgetek FT801 - CMD_TEXT - draw text

Default Icon
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
214
Product Page
Document Feedback Copyright © Bridgetek Limited
5.38 CMD_TEXT - draw text
C prototype
void cmd_text( int16_t x,
int16_t y,
int16_t font,
uint16_t options,
const char* s );
Parameters
x
x-coordinate of text base, in pixels
y
y-coordinate of text base, in pixels
font
Font to use for text, 0-31. See ROM and RAM Fonts
options
By default (x,y) is the top-left pixel of the text and the value of options is
zero. OPT_CENTERX centers the text horizontally, OPT_CENTERY centers it
vertically. OPT_CENTER centers the text in both directions. OPT_RIGHTX
right-justifies the text, so that the x is the rightmost pixel. The value of
OPT_RIGHTX is 2048.
Text string

Table of Contents