Setting the clip mask in GdkGC
- From: Jeff Franks <jcf tpg com au>
- To: gtk-devel-list gnome org
- Subject: Setting the clip mask in GdkGC
- Date: Mon, 05 Feb 2001 10:35:00 +1100
Hi,
I have a question. The 1.3.x documentation says calling
gdk_gc_set_clip_rectangle or gdk_gc_set_clip_region sets the clip mask
for a graphics context relative to the clip origin. This implies to me
that if the clip origin is not (0, 0) it remains unchanged. When you
call these functions the clip origin is reset to (0, 0) because of the
following two lines at the end of the function bodies:
gc->clip_x_origin = 0;
gc->clip_y_origin = 0;
Is this correct?
Thanks,
Jeff.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]