| Category | Immediate-paint shapes |
|---|
Purpose — Draw and immediately paint a circle. Equivalent to pdfEllipse with equal width/height, centered rather than corner-anchored.
Declarations
C
BOOL32 __stdcall pdfDrawCircle(PPDF IPDF, double PosX, double PosY, double Radius, int32_t FillMode);
Delphi
function pdfDrawCircle(const IPDF: PPDF; PosX, PosY, Radius: Double; FillMode: Integer): LongBool; stdcall; external 'LumasPdf.dll';
Parameters
| Parameter | Type | Description |
|---|---|---|
IPDF | PPDF | Instance handle. |
PosX, PosY | Double | Circle center. |
Radius | Double | Radius. |
FillMode | Integer | See the chapter's shared table. |
Return value — TRUE on success; FALSE if no content stream is open.
See also — pdfEllipse
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Graphics
Category
Vector Graphics
Exported names
pdfDrawCircle
String variants
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
See working code
Worked examples — complete programs in ten languages.