← All docs

cairo_new_path()

Discards the current path.

cairo_new_path()

function cairo_new_path(mixed $context): void

Discards the current path.

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_new_path is implemented in the compiler, see the internals page.