home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!usc!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!mouse
- From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
- Subject: Re: Non-rectangular bitmaps/setting pixmap background...
- Message-ID: <1992Jul30.010348.8332@thunder.mcrcim.mcgill.edu>
- Organization: McGill Research Centre for Intelligent Machines
- References: <1992Jul13.194934.5605@news.cs.brandeis.edu> <raney.711494247@teal> <raney.712034535@teal>
- Date: Thu, 30 Jul 92 01:03:48 GMT
- Lines: 38
-
- In article <raney.712034535@teal>, raney@teal.csn.org (Scott Raney) writes:
- > mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
- >> In article <raney.711494247@teal>, raney@teal.csn.org (Scott Raney) writes:
- >>> Unfortunately, the X server designers chose to implement clip masks
- >>> by converting them to rectangle lists instead of developing a three
- >>> element logic op.
- >> This has come up on the net before. As I recall, it was done not to
- >> avoid three-element logic but to avoid *four*-element logic.
- >> Consider drawing stippled text, for example.
- > Nope, the reason was that many "intelligent" graphics controllers
- > couldn't handle it.
-
- To make my statement more precise, I was told by someone (I no longer
- recall who) who was involved in the process at the time that it was
- done to avoid increasing the code complexity of already-complicated
- operations, like stippled text, beyond manageability. Since you appear
- to know better, I defer to your greater knowledge. (Don't you remember
- back in September 1991, when this came up before? You were at
- colorado.edu at the time, or at least someone of the same name was.)
-
- >> So don't complain; do something about it! If you were to contribute
- >> efficient code for doing clipmasks as masks, I'm sure lots of people
- >> would love you for it.
- > Since we're effectively doing a 3 element logic op in MetaCard, I
- > submit that it isn't technically all that difficult.
-
- So write it up and mail it in. If it's not that hard, it shouldn't
- take very long. But I've looked at the cfb code and I think you're
- wrong: it's unwieldy as it is, and that's with stipples and font glyphs
- already preprocessed so they're nicely aligned on memory unit
- boundaries. (I think both are preprocessed; it's been a while.)
- Adding a fourth source of data would drive it beyond reasonability, in
- my opinion.
-
- der Mouse
-
- mouse@larry.mcrcim.mcgill.edu
-