DrawEllipse

矢量图形

描述

绘制以某一点为中心且适合指定尺寸框的椭圆

语法

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);

参数

XPos椭圆中心的水平坐标
YPos椭圆中心的垂直坐标
Width椭圆的宽度
Height椭圆的高度
DrawOptions0 = 轮廓 1 = 填充 2 = 填充和轮廓

返回值

椭圆绘制成功后返回 1。