Skip to contents

Wraps FPDFPath_LineTo. Draws a straight line from the path's current point to (x, y), advancing the current point.

Usage

pdf_path_line_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.