Setting the clip mask in GdkGC



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]