Skip to contents

Wraps FPDFPage_InsertClipPath. After insertion the clip path is owned by the page; the R-side pdfium_clip_box handle's externalptr is cleared automatically so subsequent operations on it error cleanly via is_open().

Usage

pdf_page_insert_clip_path(page, clip_path)

Arguments

page

A pdfium_page from pdf_page_load() or pdf_page_new(). Parent doc must be readwrite.

clip_path

A pdfium_clip_box from pdf_clip_path_new().

Value

Invisibly returns the parent pdfium_doc.