TypeScript API Documentation for GDK
API Version: 3.0
Library Version: 3.24.51
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 3.10
Creates an image surface with the same contents as the pixbuf.
a GdkPixbuf.Pixbuf
the scale of the new surface, or 0 to use same as window
window
Optional
The window this will be drawn to, or null
null
a new cairo surface, must be freed with cairo_surface_destroy()
cairo_surface_destroy()
3.10
Creates an image surface with the same contents as the pixbuf.