TftArcG(wX_Start As Word, wY_Start As Word, wX_Stop As Word, wY_Stop As Word, wRadius As Word, pCurve As Bit, wStartColor As Word, wEndColor As Word, bWidth As Byte, sbDirection As SByte)
|
Parameter |
Description |
|
wX_Start |
X-coordinate of the starting point of the arc |
|
wY_Start |
Y-coordinate of the starting point of the arc |
|
wX_Stop |
X-coordinate of the ending point of the arc |
|
wY_Stop |
Y-coordinate of the ending point of the arc |
|
wRadius |
Radius of the arc (must be greater than the distance between the start and stop points) |
|
pCurve |
Direction of the arc: |
|
wStartColor |
Starting color for the gradient (16-bit RGB565 color) |
|
wEndColor |
Ending color for the gradient (16-bit RGB565 color) |
|
bWidth |
Arc thickness in pixels (default is 1 if not specified) |
|
sbDirection |
Direction in which additional pixels are added relative to the center point: |
This function draws an arc with a gradient color fill, taking extra processing time for gradient rendering.
The arc's start and end points are defined by their coordinates, and the arc can have a concave or convex shape, with a specified radius and thickness.
|
TftSetUp(0, 0) TftResetScreen(BLACK) TftArcG(30,80,290,80,200,0,YELLOW, BROWN,1,0) TftArcG(10,60,200,50,160,1,BLUE,RED,6,-1) |
|
Created with the Personal Edition of HelpNDoc: Don't be left in the past: convert your WinHelp HLP help files to CHM with HelpNDoc