Package: gdk
Function gdk-cairo-surface-create-from-pixbuf
Lambda Listgdk-cairo-surface-create-from-pixbuf (pixbuf scale window) Argumentspixbuf -- a gdk-pixbuf object scale -- an integer with the scale of the new surface, or 0 to use same as window window -- the gdk-window object this will be drawn to, or nil Return Value A new cairo-surface-t instance, must be freed with the cairo-surface-destroy function. Details
Creates an image surface with the same contents as the pixbuf. | See also |
2021-12-11