TftTriangleNE()

Library Description ›› Shapes ›› Triangle ››
Parent Previous Next

TftTriangleNE(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: Outline color in 16-bit 565 RGB format


Draws an empty triangle defined by three vertices. 


The triangle is outlined with the specified color, but it is not filled.


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: Transform Your Help Documentation Process with a Help Authoring Tool