Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!helios.ee.lbl.gov!ux5.lbl.gov!beard From: beard@ux5.lbl.gov (Patrick C Beard) Newsgroups: comp.sys.mac.programmer Subject: Re: Help with icl8's... Message-ID: <6279@helios.ee.lbl.gov> Date: 25 Jul 90 19:21:45 GMT References: <14176@wpi.wpi.edu> Sender: usenet@helios.ee.lbl.gov Reply-To: beard@ux5.lbl.gov (Patrick C Beard) Organization: Berkeley Systems, Inc. Lines: 24 X-Local-Date: 25 Jul 90 12:21:45 PDT In article <14176@wpi.wpi.edu> markt@wpi.wpi.edu (Mark Robert Tsombakos) writes: #Hello, # Just a quick question (I've seen it asked before, but never saw the #answer) - # # How does one draw an icl8? # # Thanks in advance, # John #email: markt@wpi.wpi.edu I was just wondering that myself... Couldn't be easier. The format of icl's is just the pixels. Therefore, an icl8 is just 32x32 8-bit pixels, or 1024 bytes. Just create a pixmap, set rowBytes to 32, bounds to 0, 0, 32, 32, and set up baseAddr to point to the data, and call CopyBits. This should work, though I've never done it. -- ------------------------------------------------------------------------------- - Patrick Beard, Macintosh Programmer (beard@lbl.gov) - - Berkeley Systems, Inc. "..............Good day!" - Paul Harvey - -------------------------------------------------------------------------------