Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!unmvax!ncar!boulder!tramp!hartkopf From: hartkopf@tramp.Colorado.EDU (HARTKOPF JEFFREY M) Newsgroups: comp.sys.apple Subject: custom icons question Message-ID: <9134@boulder.Colorado.EDU> Date: 1 Jun 89 16:47:38 GMT Sender: news@boulder.Colorado.EDU Reply-To: hartkopf@tramp.Colorado.EDU (HARTKOPF JEFFREY M) Distribution: na Organization: University of Colorado, Boulder Lines: 14 References: Question about IIGS toolbox programming: How does one generate and use custom icons in a program? I have some fairly small (maybe 15 by 25 pixels) shapes that I want to draw in a desktop program. I tried plotting them point by point but that is much too slow, so I guess using icons would probably be the fastest way. What I need to know is, after I generate the hex representation, (from the icon editor IconEd), how do I actually make an icon out of it, and then how do I print that icon on the screen? Or would it be easier to somehow read the icons in from a standard icon file? I don't know. I'm using TML Pascal so Pascal examples would be greatly appreciated, although I also know C. Thanks very much for any help. -- Jeff Hartkopf