TftTriangleNS(wX_0 As Word, wY_0 As Word, wX_1 As Word, wY_1 As Word, wX_2 As Word, wY_2 As Word, wColor As Word)
|
Parameter |
Description |
|
wX_0 |
X-coordinate of Corner 0 |
|
wY_0 |
Y-coordinate of Corner 0 |
|
wX_1 |
X-coordinate of Corner 1 |
|
wY_1 |
Y-coordinate of Corner 1 |
|
wX_2 |
X-coordinate of Corner 2 |
|
wY_2 |
Y-coordinate of Corner 2 |
|
wColor |
Fill color in 16-bit RGB565 format |
Draws a solid color triangle defined by three vertices.
The triangle is filled with the specified color.
|
TftSetUp(0, 0) TftResetScreen(BLACK) TftTriangle(10,20,30,70,60,40,0,GREEN, 5,1) TftTriangleNS(60,70,80,180,110,120,RED) TftTriangleNE(140,120,260,200,130,100,WHITE) |
|
Created with the Personal Edition of HelpNDoc: Step-by-Step Guide: How to Turn Your Word Document into an eBook