GC.setClipOrigin

Warning gdk_gc_set_clip_origin has been deprecated since version 2.22 and should not be used in newly-written code. Use cairo_translate() before applying the clip path in Cairo. Sets the origin of the clip mask. The coordinates are interpreted relative to the upper-left corner of the destination drawable of the current operation.

class GC
void
setClipOrigin
(
int x
,
int y
)

Parameters

x int

the x-coordinate of the origin.

y int

the y-coordinate of the origin.

Meta