On Sat, 10 Nov 2001, Daniel Secrieru wrote: > > For the orgin, that's about all that can be done. Clipping > > to the extents could be done with the clipmask in the GC. > You mean with XSetClipRectangles(...)?
Yes. A single rect could be used to confine rendering to the viewport. > (the origin of the GC could also > be set in this way - the clip_x_origin/clip_y_origin in XGCValues, isn't > it?) No, the origin is always the drawable origin. The clip origin tells where the clipmask gets placed on the drawable. You still need to translate coordinates if you don't want drawable relative rendering. mark. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert