TftParallelogramNTS(wX_Corner As Word, wY_Corner As Word, wSideH As Word, wSideI As Word, wAngle As Word, pSolid As Bit, wColor As Word)
|
Parameter |
Description |
|
wX_Corner |
X-coordinate of Corner 1 |
|
wY_Corner |
Y-coordinate of Corner 1 |
|
wSideH |
Length of the horizontal side |
|
wSideI |
Length of the inclined side |
|
wAngle |
Angle between the horizontal and inclined sides in degrees |
|
pSolid |
Parallelogram fill type: |
|
wColor |
Fill or outline color in 16-bit RGB565 format |
Draws a parallelogram with the given starting corner, horizontal and inclined side lengths, and the angle between them.
If pSolid is set to 1, the parallelogram is filled with the specified color. If pSolid is 0, only the outline is drawn.
|
TftSetUp(0, 0) TftResetScreen(BLACK) TftParallelogramNTS(50,40, 150, 80, 30, 0, GREEN) TftParallelogramNTS(70,140, 150, 80, 30, 1, VIOLET) |
|
Created with the Personal Edition of HelpNDoc: Full-featured Kindle eBooks generator