TypeScript API Documentation for GDK
API Version: 4.0
Library Version: 4.0.0
Generated with TypeDoc via ts-for-gir v4.0.0-beta.41
Deprecated 4.20
Sets the given pixbuf as the source pattern for cr.
cr
The pattern has an extend mode of cairo.Extend.NONE and is aligned so that the origin of pixbuf is pixbuf_x, pixbuf_y.
pixbuf
pixbuf_x
pixbuf_y
Deprecated
a cairo context
a GdkPixbuf.Pixbuf
X coordinate of location to place upper left corner of pixbuf
Y coordinate of location to place upper left corner of pixbuf
since 4.20: Use cairo_set_source_surface() and gdk_texture_download()
cairo_set_source_surface()
gdk_texture_download()
Sets the given pixbuf as the source pattern for
cr.The pattern has an extend mode of cairo.Extend.NONE and is aligned so that the origin of
pixbufispixbuf_x,pixbuf_y.