RGtk2 (version 2.20.31)

cairoNewSubPath: cairoNewSubPath

Description

Begin a new sub-path. Note that the existing path is not affected. After this call there will be no current point.

Usage

cairoNewSubPath(cr)

Arguments

cr
[Cairo] a cairo context

Details

In many cases, this call is not needed since new sub-paths are frequently started with cairoMoveTo. A call to cairoNewSubPath is particularly useful when beginning a new sub-path with one of the cairoArc calls. This makes things easier as it is no longer necessary to manually compute the arc's initial coordinates for a call to cairoMoveTo. Since 1.2