Learn R Programming

RGtk2 (version 2.20.4)

cairoLineTo: cairoLineTo

Description

Adds a line to the path from the current point to position (x, y) in user-space coordinates. After this call the current point will be (x, y).

Usage

cairoLineTo(cr, x, y)

Arguments

Details

If there is no current point before the call to cairoLineTo this function will behave as cairo_move_to(cr, x, y).