Package: cairo
Function cairo:current-point
Lambda Listcairo:current-point (cr) ArgumentsReturn Value x -- a double float with the x coordinate of the current point y -- a double float with the y coordinate of the current point Details
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 the cairo:has-current-point function. Most path construction functions alter the current point. See the following functions for details on how they affect the current point: new-path new-sub-path append-path close-path move-to line-to curve-to rel-move-to rel-line-to rel-curve-to arc arc-negative rectangle text-path glyph-pathSome functions use and alter the current point but do not otherwise change the current path: show-textSome functions unset the current path and as a result, the current point: fill stroke | See also |
2025-1-14