home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / programm / 20219 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.3 KB

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