TftCircleQS()

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

TftCircleQS(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: Fill color in 16-bit 565 RGB format


Draws a solid color circle using quick but less accurate routines. 


This method is computationally efficient, making it ideal for performance-sensitive applications, but it may lead to a deformed appearance, especially with smaller radii.


Note:

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

• This method trades accuracy for speed, so the resulting circle may not be perfectly round, especially for smaller radii.


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: Create HTML Help, DOC, PDF and print manuals from 1 single source