TftEllipseQE()

Library Description ›› Shapes ›› Ellipse ››
Parent Previous Next

Syntax

TftEllipseQE(wX_Center As Word, wY_Center As Word, bRadiusH As Word, bRadiusV As Word, wColor As Word)

Parameters

wX_Center — X-coordinate of the ellipse center

wY_Center — Y-coordinate of the ellipse center

bRadiusH — Horizontal radius of the ellipse (in pixels)

bRadiusV — Vertical radius of the ellipse (in pixels)

wColor — Ellipse outline color in 16-bit RGB565 format


Draws an empty ellipse with the specified center coordinates, horizontal and vertical radii, and outline color.


Note: this routine is less computationally intensive than TftEllipseE (no Cos/Sin per step), however the smaller the radii the more deformed the ellipse is being drawn - same trade-off as TftCircleQE vs TftCircleN.

Example

TftSetUp(0, 0)

TftResetScreen(BLACK)

TftEllipseQE(90,60,80,40,GREEN)

TftEllipseQS(140,170,120,50,BLUE)

Created with the Personal Edition of HelpNDoc: Experience the Power and Ease of Use of HelpNDoc for CHM Help File Generation