DrawEllipse

Vektorgrafik

Beschreibung

Zeichnet eine Ellipse mit einem bestimmten Mittelpunkt, die in ein Rechteck der angegebenen Größe passt.

Syntax

Delphi

Function TPDFlib.DrawEllipse(XPos, YPos, Width, Height: Double; DrawOptions: Integer): Integer;

ActiveX

Function PDFlib::DrawEllipse(XPos As Double, YPos As Double, Width As Double, Height As Double, DrawOptions As Long) As Long

DLL

int DLDrawEllipse(int InstanceID, double XPos, double YPos, double Width, double Height, int DrawOptions);

Parameter

XPosDie horizontale Koordinate des Ellipsenmittelpunkts
YPosDie vertikale Koordinate des Ellipsenmittelpunkts
WidthDie Breite der Ellipse
HeightDie Höhe der Ellipse
DrawOptions0 = Umriss 1 = Füllung 2 = Füllung und Umriss

Rückgabewerte

Gibt 1 zurück, wenn die Ellipse gezeichnet wurde.