Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!mailrus!ukma!husc6!cmcl2!dasys1!rpaul From: rpaul@dasys1.UUCP (Rod Paul) Newsgroups: comp.sys.mac.programmer Subject: A Mac novice & C Message-ID: <10715@dasys1.UUCP> Date: 15 Sep 89 18:47:40 GMT Distribution: comp Organization: The Big Electric Cat Lines: 41 OK, so I picked up the best of both worlds, THINK C and AZTEC C, one for my MAC moods and one for my Unix'ish moods. I finally found a couple of decent books regarding C on a Mac, as the manuals supplied with the above products aren't much use for starting out (well for the price you can't complain) and my Pascal is rusty by about 5 years. As graphics is my living, I decided it would be nice to be able to view some of those 32-bit images I render at work, and at least view them in 8-bits at home, so my first application... I must admit, I started grumbling a little when I first started investigating the Mac libraries (Managers), but after a while I began to appreciate how fast you can put something together. So after one night, I can find, read and display PICT files. OK, so what if I wan't to process the data before displaying it on the screen. QDprocs look a little hairy to start messing with right off the bat, and anyway my ultimate goal with this application is to convert image formats that I work in and display them on the Mac. This is where I've run into a brick wall, could some kind soul give me some tips on how to go about say, displaying a 256x256 type char array on the screen? Other libraries I work with on my Unix machines have routines like writeRGB(xres, rbuf, gbuf, bbuf) for scanlines or similar routines for rectangular areas. Now I realize the Mac is a different environment, but there must be a fairly simple way to accomplish this feat. Any help will be greatly appreciated. -- Rodian Paul Big Electric Cat Public UNIX ..!cmcl2!hombre!dasys1!rpaul