EasyManua.ls Logo

Bridgetek FT801 - CMD_GAUGE - draw a gauge

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
183
Product Page
Document Feedback Copyright © Bridgetek Limited
5.30 CMD_GAUGE - draw a gauge
C prototype
void cmd_gauge( int16_t x,
int16_t y,
int16_t r,
uint16_t options,
uint16_t major,
uint16_t minor,
uint16_t val,
uint16_t range );
Parameters
x
X-coordinate of gauge center, in pixels
y
Y-coordinate of gauge center, in pixels
r
Radius of the gauge, in pixels
options
By default the gauge dial is drawn with a 3D effect and the value of options is
zero. OPT_FLAT removes the 3D effect. With option OPT_NOBACK, the

Table of Contents