Learn R Programming

RGtk2 (version 2.8.7)

cairoRelLineTo: cairoRelLineTo

Description

Relative-coordinate version of cairoLineTo. Adds a line to the path from the current point to a point that is offset from the current point by (dx, dy) in user space. After this call the current point will be offset by (dx, dy).

Usage

cairoRelLineTo(cr, dx, dy)

Arguments

Details

Given a current point of (x, y), cairo_rel_line_to(cr, dx, dy) is logically equivalent to cairo_line_to (cr, x + dx, y + dy).