cairo_set_source_window


Description:


[ Version ( since = "2.24" ) ]
public void cairo_set_source_window (Context cr, Window window, double x, double y)

Sets the given window as the source pattern for cr.

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.

Parameters:

cr

a cairo context

window

a Window

x

X coordinate of location to place upper left corner of window

y

Y coordinate of location to place upper left corner of window


Namespace: Gdk
Package: gdk-3.0



2022 vala-language.org