cairoClosePath {RGtk2} | R Documentation |
Adds a line segment to the path from the current point to the
beginning of the current subpath, (the most recent point passed to
cairoMoveTo
), and closes this subpath.
cairoClosePath(cr)
|
[Cairo ] a cairo context |
The behavior of cairoClosePath
is distinct from simply calling
cairoLineTo
with the equivalent coordinate in the case of
stroking. When a closed subpath is stroked, there are no caps on
the ends of the subpath. Instead, their is a line join connecting
the final and initial segments of the subpath.
Derived by RGtkGen from GTK+ documentation