FPDF_CreateClipPath function

  1. @Native<FPDF_CLIPPATH Function(Float, Float, Float, Float)>(ffi.Float, ffi.Float, ffi.Float, ffi.Float)>()
FPDF_CLIPPATH FPDF_CreateClipPath(
  1. double left,
  2. double bottom,
  3. double right,
  4. double top,
)

Create a new clip path, with a rectangle inserted.

Caller takes ownership of the returned FPDF_CLIPPATH. It should be freed with FPDF_DestroyClipPath().

left - The left of the clip box. bottom - The bottom of the clip box. right - The right of the clip box. top - The top of the clip box.

Implementation

@ffi.Native<
  FPDF_CLIPPATH Function(ffi.Float, ffi.Float, ffi.Float, ffi.Float)
>()
external FPDF_CLIPPATH FPDF_CreateClipPath(
  double left,
  double bottom,
  double right,
  double top,
);