On Sat, 10 Nov 2001, Daniel Secrieru wrote: > > I don't know what those Windows functions are suppossed to do. > > All rendering in X is window-relative. If that viewport function > > lets you change that, there is no equivalent in X and you'll > > have to do the viewport translation yourself. > If it's not possible, how can this translation be done? (one way that > I'm thinking is to keep some offsets and add them to the drawing > coordinates; if they are 0, no changes to the origin are done, if not, > everything that is to be drawn will be translated; it seems much complicated > to set the viewport extents)
For the orgin, that's about all that can be done. Clipping to the extents could be done with the clipmask in the GC. Mark. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert