Learn R Programming

RGtk2 (version 2.20.21)

cairoCurveTo: cairoCurveTo

Description

Adds a cubic Bézier spline to the path from the current point to position (x3, y3) in user-space coordinates, using (x1, y1) and (x2, y2) as the control points. After this call the current point will be (x3, y3).

Usage

cairoCurveTo(cr, x1, y1, x2, y2, x3, y3)

Arguments

Details

If there is no current point before the call to cairoCurveTo this function will behave as if preceded by a call to cairo_move_to(cr, x1, y1).