Skip to contents

Wraps FPDFPath_MoveTo. Moves the path's "current point" to (x, y) without drawing — useful as the start of a new subpath or to leave a gap between strokes within a single path object.

Usage

pdf_path_move_to(obj, x, y)

Arguments

obj

A pdfium_obj of type "path". Parent doc must be readwrite.

x, y

Numeric scalars in PDF user-space points (origin at the page's bottom-left).

Value

Invisibly returns the parent pdfium_doc.