FPDF_CreateClipPath method

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

FPDF_CLIPPATH FPDF_CreateClipPath(
  double left,
  double bottom,
  double right,
  double top,
) {
  return _FPDF_CreateClipPath(left, bottom, right, top);
}