| Category | Immediate-paint shapes |
|---|---|
| Note | same always-strokes behavior as pdfDrawArc |
Purpose — Elliptical-arc variant of pdfDrawArc, using a bounding box instead of a radius.
Declarations
C
BOOL32 __stdcall pdfDrawArcEx(PPDF IPDF, double PosX, double PosY, double Width, double Height, double StartAngle, double EndAngle);
Delphi
function pdfDrawArcEx(const IPDF: PPDF; PosX, PosY, Width, Height, StartAngle, EndAngle: Double): LongBool; stdcall; external 'LumasPdf.dll';
Parameters
| Parameter | Type | Description |
|---|---|---|
IPDF | PPDF | Instance handle. |
PosX, PosY | Double | Bounding box top-left corner. |
Width, Height | Double | Bounding box size. |
StartAngle, EndAngle | Double | Arc sweep, in degrees. |
Return value — TRUE on success; FALSE if no content stream is open.
Remarks — Same as pdfDrawArc: always stroked, no FillMode.
See also — pdfDrawArc
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Graphics
Category
Vector Graphics
Exported names
pdfDrawArcEx
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.