← All docs

cairo_stroke_preserve()

Strokes the current path with the current source and keeps the path.

cairo_stroke_preserve()

function cairo_stroke_preserve(mixed $context): void

Strokes the current path with the current source and keeps the path.

Parameters:

  • $context (mixed)

Returns: void

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