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)
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 565 RGB format
Draws a solid color triangle defined by three vertices.
The triangle is filled with the specified color.
Example:
TftSetUp(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: Effortlessly Create High-Quality Help Documentation with a Help Authoring Tool