Gets the current point of the current path, which is conceptually
the final point reached by the path so far.
The current point is returned in the user-space coordinate system.
If there is no defined current point or if cr is in an error status,
x and y will both be set to 0.0. It is possible to check
this in advance with hasCurrentPoint().
Gets the current point of the current path, which is conceptually the final point reached by the path so far.
The current point is returned in the user-space coordinate system. If there is no defined current point or if cr is in an error status, x and y will both be set to 0.0. It is possible to check this in advance with hasCurrentPoint().
Most path construction functions alter the current point. See the following for details on how they affect the current point: newPath(), newSubPath(), appendPath(), closePath(), moveTo(), lineTo(), curveTo(), relMoveTo(), relLineTo(), relCurveTo(), arc(), arcNegative(), rectangle(), textPath(), glyphPath(), strokeToPath().
Some functions use and alter the current point but do not otherwise change current path: showText().
Some functions unset the current path and as a result, current point: fill(), stroke().