cairoGetCurrentPoint {RGtk2} | R Documentation |
Gets the current point of the current path, which is conceptually the final point reached by the path so far.
cairoGetCurrentPoint(cr, x, y)
|
[Cairo ] a cairo context |
|
[numeric] return value for X coordinate of the current point |
|
[numeric] return value for Y coordinate of the current point |
The current point is returned in the user-space coordinate
system. If there is no defined current point then x
and y
will
both be set to 0.0.
Most path construction functions alter the current point. See the following for details on how they affect the current point:
cairoNewPath
, cairoMoveTo
, cairoLineTo
,
cairoCurveTo
, cairoArc
, cairoRelMoveTo
,
cairoRelLineTo
, cairoRelCurveTo
, cairoArc
,
cairoTextPath
, cairoStrokeToPath()
Derived by RGtkGen from GTK+ documentation