TftCircleQE()

Library Description ›› Shapes ›› Circle ››
Parent Previous Next

TftCircleQE(wX_Center As Word, wY_Center As Word, bRadius As Byte, wColor As Word)


wX_Center: X-coordinate of the circle's center

wY_Center: Y-coordinate of the circle's center

bRadius: Radius of the circle (in pixels)

wColor: Outline color in 16-bit 565 RGB format


Draws an empty circle (outline only) using quick but less accurate routines. 


This method prioritizes speed, making it computationally efficient, but it may result in a deformed appearance for smaller radii.


Note:

• The smaller the radius, the more the circle may appear deformed.

• This routine is faster but less precise, especially for small circles where the outline may not appear perfectly smooth.


Example:


TftSetUp(0)

TftResetScreen(BLACK)

TftCircleNE(40,40,30,RED)

TftCircleNS(110,40,30,GREEN)

TftCircleN(180,40,30,0,BLUE,4,-1)

TftCircleQE(40,120,30,RED) 

TftCircleQS(110,120,30,GREEN) 

TftCircleQ(180,120,30,0,BLUE,4,-1)






Created with the Personal Edition of HelpNDoc: Maximize Your CHM Help File Capabilities with HelpNDoc