TftEllipseQS()

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

Syntax

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

Parameters

Parameter

Description

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

Fill color in 16-bit RGB565 format

Overview

Draws a solid color ellipse with the specified center coordinates, horizontal and vertical radii, and fill 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)

TftEllipseQS()

Created with the Personal Edition of HelpNDoc: Converting Word Docs to eBooks Made Easy with HelpNDoc