cairo_surface_write_to_png()
function cairo_surface_write_to_png(mixed $surface, string $filename): void
Writes a surface to a PNG file.
Parameters:
$surface(mixed)$filename(string)
Returns: void
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Not available yet |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how cairo_surface_write_to_png is implemented in the compiler, see the internals page.