Article View: rec.games.programmer
Article #1521Xlib Clipping Revisited
From: Tom Boutell
Date: Mon, 14 Dec 1992 17:40
Date: Mon, 14 Dec 1992 17:40
23 lines
1384 bytes
1384 bytes
Well, I now suspect the problem is that the clipping support can only be used for bitmaps (specifically the "clipped bitmaps" set of primitives). I also infer from this it probably can't be used for compiled bitmaps. Decent clipping is important to getting the look of this game right, but line-drawing, even with the speed of this library and the simplicity of the images, was proving too expensive a technique anyway, so I'll probably bite the bullet and move to bitmaps. Hope clipping works for compiled 'maps, but even if it doesn't I suppose I can use the uncompiled 'maps when I know I'm in an edge situation this is probably the best approach. XLIB is still an amazing thing to have around. One pet peeve, though: the color and basepage arguments aren't always in a consistent order. That gets really annoying when trying to move mentally from one function to another. -T -- Tom Boutell, boutell@cshl.org Clausthaler is the best non - alcoholic beer in the known universe.
Technical Details
Message-ID:
<Bz9Fr7.5uy@phage.cshl.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!spool.mu.edu!yale.edu!jvnc.net!phage!boutellShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!spool.mu.edu!yale.edu!jvnc.net!phage!boutell From: boutell@isis.cshl.org (Tom Boutell) Newsgroups: rec.games.programmer Subject: Xlib Clipping Revisited Message-ID: <Bz9Fr7.5uy@phage.cshl.org> Date: 14 Dec 92 17:40:18 GMT Article-I.D.: phage.Bz9Fr7.5uy Sender: news@phage.cshl.org Organization: Cold Spring Harbor Labs Lines: 23