home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!gatech!destroyer!gumby!kzoo!k044477
- From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Looking at a bit in a bitmap truly bytes. Help!
- Message-ID: <1992Dec22.230600.8564@hobbes.kzoo.edu>
- Date: 22 Dec 92 23:06:00 GMT
- References: <1992Dec22.004631.14531@midway.uchicago.edu> <1992Dec22.205409.28125@kth.se>
- Organization: Kalamazoo College
- Lines: 21
-
- d88-jwa@hemul.nada.kth.se (Jon Wtte) writes:
- >
- > [ re getting an icon's mask ]
- >
- >What I would do is open a new port, SetPortBits to
- >a known scratch space one longword long, and move
- >the origin and clip so that you know what's going on,
- >and draw the icon MASK into that port, then DisposePort
- >the port.
-
- To get an _icon_'s mask? We're talking icons here, right? The format's
- well-documented, and it's never gonna change. Why not just sneak a peek
- into the thing? Avoid the overhead of, what, at least seven toolbox
- calls, at least two of which are (relatively) very slow.
-
- Or am I missing something? Are ICN#'s and icl8's suddenly going to have
- a completely different data format in System 12?
- --
- Jamie McCarthy Internet: k044477@kzoo.edu AppleLink: j.mccarthy
- "This sounds like a semantico-psychological backwardization of the
- real world image." - Dave Bloom (bloomda@ctrvax.vanderbilt.edu)
-