PDFium Delphi Component Docs

BezierControlPointFeaturesAvailable function

Unit: PDFium
Reports whether the loaded pdfium.dll exports FPDFPath_GetBezierControlPoints

Syntax

function BezierControlPointFeaturesAvailable: Boolean;

Parameters

None

Return Value

Boolean

Description

BezierControlPointFeaturesAvailable loads the selected PDFium module when necessary and returns True when the optional FPDFPath_GetBezierControlPoints entry point is exported

When the export is present, path reading can recover the two control points of every cubic Bezier segment; without it, a run of three consecutive BezierTo segments is reported without its intermediate control points

Remarks

Example

if BezierControlPointFeaturesAvailable then
  Info := Pdf.PathInfo(PageObjectIndex);

See Also

TPdf.PathInfo, AttachmentDescriptionFeaturesAvailable, GetSkiaRenderCapabilities