cairo_create()
function cairo_create(mixed $surface): mixed
Creates a drawing context for a surface.
Parameters:
$surface(mixed)
Returns: mixed
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Not available yet |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how cairo_create is implemented in the compiler, see the internals page.