API referenceGraphics

pdfBezier_1_2_3

Append a cubic Bézier curve with both control points explicit

CategoryPath construction

Purpose — Append a cubic Bézier curve with both control points explicit (PDF c operator).

Declarations

C
BOOL32 __stdcall pdfBezier_1_2_3(PPDF IPDF, double x1, double y1, double x2, double y2, double x3, double y3);
Delphi
function pdfBezier_1_2_3(const IPDF: PPDF; x1, y1, x2, y2, x3, y3: Double): LongBool; stdcall; external 'LumasPdf.dll';

Parameters

ParameterTypeDescription
IPDFPPDFInstance handle.
x1, y1DoubleFirst control point.
x2, y2DoubleSecond control point.
x3, y3DoubleCurve endpoint.

Return valueTRUE on success; FALSE if no content stream is open.

See alsopdfBezier_1_3, pdfBezier_2_3

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Graphics
Category

Core

Exported names

pdfBezier_1_2_3

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.