← All docs

cairo_set_fill_rule()

Selects the fill rule used to decide which regions a path encloses.

cairo_set_fill_rule()

function cairo_set_fill_rule(mixed $context, int $fillRule): void

Selects the fill rule used to decide which regions a path encloses.

Parameters:

  • $context (mixed)
  • $fillRule (int)

Returns: void

Availability

Compiled (AOT)Magician (eval)
AvailableNot available yet

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

Internals

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