Draws a series of anti-aliased lines. form->ptr
must point to an array of int16_t (short int) values, multiple x
and y
pairs, and the last pair must be 0,0.
Parameter | Description |
---|---|
form->type |
UI_LINES |
form->ptr |
Pointer to the int16_t array |
form->value |
32 bit RGBA color |
Connects two points horizontally with a curve. form->ptr
must point to an array of exactly 4 int16_t values,
x0
and y0
starting point, x1
and y1
end point pair.
Parameter | Description |
---|---|
form->type |
UI_HCONNECT |
form->ptr |
Pointer to int16_t array with 4 elements |
form->value |
32 bit RGBA color |
Connects two points vertically with a curve. form->ptr
must point to an array of exactly 4 int16_t values,
x0
and y0
starting point, x1
and y1
end point pair.
Parameter | Description |
---|---|
form->type |
UI_VCONNECT |
form->ptr |
Pointer to int16_t array with 4 elements |
form->value |
32 bit RGBA color |
Draws an arbitrary Bezier curve. form->ptr
must point to an array of exactly 8 int16_t values, x0
and y0
starting point, x1
and y1
end point, cx0
and cy0
first control point, cx1
and cy1
second control
point's coordinate pair.
Parameter | Description |
---|---|
form->type |
UI_CURVE |
form->ptr |
Pointer to int16_t array with 8 elements |
form->value |
32 bit RGBA color |