← All docs

cairo_fill()

Fills the current path with the current source and clears the path.

cairo_fill()

function cairo_fill(mixed $context): void

Fills the current path with the current source and clears the 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_fill is implemented in the compiler, see the internals page.