← All docs

cairo_identity_matrix()

Resets the context's transformation to the identity matrix.

cairo_identity_matrix()

function cairo_identity_matrix(mixed $context): void

Resets the context’s transformation to the identity matrix.

Parameters:

  • $context (mixed)

Returns: void

Availability

Compiled (AOT)Magician (eval)
AvailableNot available yet

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how cairo_identity_matrix is implemented in the compiler, see the internals page.