cairo_get_current_point()
function cairo_get_current_point(mixed $context): array
Returns the current point of the path as an [x, y] pair.
Parameters:
$context(mixed)
Returns: array
Availability
- Compiled (AOT): supported through the compiler-injected image prelude.
eval()(magician interpreter): not available inside eval’d code.
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how cairo_get_current_point is implemented in the compiler, see the internals page.