pdfRoundRectEx
Rounded rectangle with independent horizontal/vertical corner
| Category | Immediate-paint shapes |
|---|
Purpose — Rounded rectangle with independent horizontal/vertical corner radii (elliptical corners).
Declarations
C
BOOL32 __stdcall pdfRoundRectEx(PPDF IPDF, double PosX, double PosY, double Width, double Height, double rWidth, double rHeight, int32_t FillMode);
Delphi
function pdfRoundRectEx(const IPDF: PPDF; PosX, PosY, Width, Height, rWidth, rHeight: Double; FillMode: Integer): LongBool; stdcall; external 'LumasPdf.dll';
Parameters
| Parameter | Type | Description |
|---|---|---|
IPDF | PPDF | Instance handle. |
PosX, PosY | Double | Lower-left corner. |
Width, Height | Double | Size. |
rWidth, rHeight | Double | Corner radius on the X and Y axis respectively (elliptical corners when unequal). |
FillMode | Integer | See the chapter's shared table. |
Return value — TRUE on success; FALSE if no content stream is open.
See also — pdfRoundRect
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Graphics
Category
Core
Exported names
pdfRoundRectEx
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.