Sign in Join
FPDoc Onlineexperiment

TPostScriptPrinterCanvas.Ellipse procedure

Member of TPostScriptPrinterCanvaspublicIn unit PostScriptCanvas

Declaration

pascal
procedure Ellipse(x1: Integer; y1: Integer; x2: Integer; y2: Integer)
 ; override

Description

Not described here; this is what TCanvas.Ellipse says of it:

Draws a filled ellipse (or circle) on the canvas.

Ellipse is an overloaded, reintroduced method in TCanvas used to draw a filled ellipse shape. The ellipse is not rotated and has its axes along the x and y axes. It is defined by means of the enclosing rectangle which can either be passed as a TRect parameter or as four separate integer coordinates.

ARect is the TRect instance with the bounds for the enclosing rectangle.

x1, y1, x2, and y2 allows the bounds for the enclosing rectangle to be specified separately as Integer values.

The bounds are used to calculate the vertex, co-vertex, linear eccentricity and focal points for the shape.

When the bounding rectangle is a square, the resulting shape is a circle.

Ellipse calls the Ellipse routine in the LCL interface to perform the drawing operation.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.