Package: gdk

Function gdk-cairo-set-source-window

Lambda List

gdk-cairo-set-source-window (cr window x y)

Arguments

cr -- a cairo-t context
window -- a gdk-window object
x -- a double float x coordinate of location to place upper left corner of window
y -- a double float y coordinate of location to place upper left corner of window

Details

Sets the given window as the source pattern for cr.

The pattern has a :none extend mode of the cairo-extend-t enumeration and is aligned so that the origin of window is (x, y). The window contains all its subwindows when rendering.

Note that the contents of window are undefined outside of the visible part of the window, so use this function with care.
 

See also

2021-12-11