GC.setClipRectangle

Warning gdk_gc_set_clip_rectangle has been deprecated since version 2.22 and should not be used in newly-written code. Use cairo_rectangle() and cairo_clip() in Cairo. Sets the clip mask for a graphics context from a rectangle. The clip mask is interpreted relative to the clip origin. (See gdk_gc_set_clip_origin()).

class GC
void
setClipRectangle

Parameters

rectangle Rectangle

the rectangle to clip to.

Meta