← All docs

cairo_curve_to()

Implemented by the compiler-injected image prelude.

cairo_curve_to()

function cairo_curve_to(mixed $context, float $x1, float $y1, float $x2, float $y2, float $x3, float $y3): void

Implemented by the compiler-injected image prelude.

Parameters:

  • $context (mixed)
  • $x1 (float)
  • $y1 (float)
  • $x2 (float)
  • $y2 (float)
  • $x3 (float)
  • $y3 (float)

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