GdkDrawingContext
GdkDrawingContext — Drawing context for GDK windows
|
|
Object Hierarchy
GObject
╰── GdkDrawingContext
Includes
#include <gdk/gdkwayland.h>
Functions
gdk_drawing_context_get_window ()
GdkWindow *
gdk_drawing_context_get_window (GdkDrawingContext *context);
Retrieves the window that created the drawing context
.
Since: 3.22
gdk_drawing_context_get_clip ()
cairo_region_t *
gdk_drawing_context_get_clip (GdkDrawingContext *context);
Retrieves a copy of the clip region used when creating the context
.
Returns
a Cairo region.
[transfer full][nullable]
Since: 3.22
Types and Values
GdkDrawingContext
typedef struct _GdkDrawingContext GdkDrawingContext;
Property Details
The “clip” property
“clip” CairoRegion *
The clip region applied to the drawing context.
Owner: GdkDrawingContext
Flags: Read / Write / Construct Only
Since: 3.22
The “window” property
“window” GdkWindow *
The GdkWindow that created the drawing context.
Owner: GdkDrawingContext
Flags: Read / Write / Construct Only
Since: 3.22