← All docs

cairo_get_current_point()

Returns the current point of the path as an [x, y] pair.

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)Magician (eval)
AvailableNot available yet

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.