TftParallelogramNTS(wX_Corner As Word, wY_Corner As Word, wSideH As Word, wSideI As Word, wAngle As Word, pSolid As Bit, wColor As Word)
wX_Corner: X-coordinate of Corner 1
wY_Corner: Y-coordinate of Corner 1
wSideH: Length of the horizontal side
wSideD: Length of the inclined side
wAngle: Angle between the horizontal and inclined sides in degrees
pSolid: Parallelogram fill type:
• 0: No fill
• 1: Solid fill
wColor: Fill or outline color in 16-bit 565 RGB 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.
Example:
TftSetUp(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: Maximize Your Productivity with a Help Authoring Tool