Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

DrawEllipse

Draw an ellipse centered at cx,cy with vertical and horizontal radii of a,b respectively

Declaration

Source position: agraphics.pas line 2300

procedure DrawEllipse(

  rp: pRastPort;

  xCenter: LongInt;

  yCenter: LongInt;

  a: LongInt;

  b: LongInt

);

Arguments

rp

  

A pointer to the RastPort into which the ellipse will be drawn.

xCenter

  

X coordinate of the centerpoint relative to the rastport.

yCenter

  

Y coordinate of the centerpoint relative to the rastport.

a

  

The horizontal radius of the ellipse (note: a must be > 0)

b

  

The vertical radius of the ellipse (note: b must be > 0)

Description

Creates an elliptical outline within the rectangular region specified by the parameters, using the current foreground pen color. this routine does not clip the ellipse to a non-layered rastport.

See also

DrawCircle

  

Draws a Circle


Documentation generated on: 2021-07-30