Context.setSourceWindow

Sets the given window as the source pattern for the Cairo context. The pattern has an extend mode of CAIRO_EXTEND_NONE 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 window, so use this function with care. Since 2.24

class Context
static
void
setSourceWindow
(,,
double x
,
double y
)

Parameters

cr Context

a Cairo context

window Window

a GdkWindow

x double

X coordinate of location to place upper left corner of window

y double

Y coordinate of location to place upper left corner of window

Meta