TftCircleQ()

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

Syntax

TftCircleQ(wX_Center As Word, wY_Center As Word, bRadius As Word, pSolid As Bit, wColor As Word, bWidth As Byte, sbDirection As SByte)

Parameters

Parameter

Description

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)

pSolid

Circle fill:
0: No fill
1: Solid fill

wColor

Fill or outline color in 16-bit RGB565 format

bWidth

Circle outline width in pixels:
0: No additional width (i.e., 1 pixel wide)

Overview

sbDirection — Position of the additional width with respect to the circle:

Draws a circle using optimized, quick routines. 


This method is less computationally intensive than others, but it may result in slight deformation for smaller radii and less precise outline widths.

Notes

Example

TftSetUp(0, 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)

TftCircleQ()

Created with the Personal Edition of HelpNDoc: Easily create Qt Help files