TftArcRL(wX_Start As Word, wY_Start As Word, wX_Stop As Word, wY_Stop As Word, wRadius As Word, pCurve As Bit, wColor As Word, swStartOffset As SWord, swEndOffset As SWord, fSegment As Float)
wX_Start: X-coordinate of the full arc's start point.
wY_Start: Y-coordinate of the full arc's start point.
wX_Stop: X-coordinate of the full arc's stop point.
wY_Stop: Y-coordinate of the full arc's stop point.
wRadius: Radius of the arc (must be larger than the distance between the start and stop points).
pCurve: Arc curvature direction:
• 0 = Concave
• 1 = Convex
wColor: 16-bit color in 565 RGB format for the arc radius line.
swStartOffset: The starting offset of the radius line from the arc.
swEndOffset: The ending offset of the radius line from the arc.
fSegment: Fraction (0 to 1) specifying the position on the arc to which the radius line will point:
• 0 = start of the arc
• 1 = end of the arc
• 0.5 = middle of the arc
This function draws a line from the arc's center to a specific point along the arc at a defined fraction (fSegment).
The line points to the segment of the arc determined by fSegment and can be offset from the arc using swStartOffset and swEndOffset.
To make use of this function, the line thickness should be set previously using TftArcRLThickness().
Example:
TftSetUp(0) TftResetScreen(BLACK) TftArc(30,80,290,80,200,0,GREEN,2,1,1) TftArcRLThickness(4) TftArcRL(30,80,290,80,200,0,GREEN,10,-50,0.3) |
Created with the Personal Edition of HelpNDoc: Make Documentation a Breeze with HelpNDoc's Clean and Efficient User Interface