Skip to contents

Wraps FPDFPath_BezierTo. Draws a cubic Bezier curve from the path's current point to (x3, y3), with control points (x1, y1) and (x2, y2). The PDF operator emitted is c.

Usage

pdf_path_bezier_to(obj, x1, y1, x2, y2, x3, y3)

Arguments

obj

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

x1, y1

First control point.

x2, y2

Second control point.

x3, y3

Curve endpoint (becomes the new current point).

Value

Invisibly returns the parent pdfium_doc.