GC.offset

Warning gdk_gc_offset has been deprecated since version 2.22 and should not be used in newly-written code. There is no direct replacement, as this is just a convenience function for gdk_gc_set_ts_origin and gdk_gc_set_clip_origin(). Offset attributes such as the clip and tile-stipple origins of the GC so that drawing at x - x_offset, y - y_offset with the offset GC has the same effect as drawing at x, y with the original GC.

class GC
void
offset
(,)

Parameters

xOffset int

amount by which to offset the GC in the X direction

yOffset int

amount by which to offset the GC in the Y direction

Meta