← All docs

cairo_get_current_point()

Implemented by the compiler-injected image prelude.

cairo_get_current_point()

function cairo_get_current_point(mixed $context): array

Implemented by the compiler-injected image prelude.

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.