In article < XXXX@XXXXX.COM >,
It has been a while since I've poked at this stuff so I could be wrong...
Since you've created a NewGWorld by specifying a zero pixel depth, no
colour table and no GDHandle you are probably going to get a GWorld of
some maximum depth of some device. You'll also get that device's colour
table. When you set the pixel some colour matching is probably
performed which would explain why the colour you get back is similar but
I'd dig around up on http://www.yqcomputer.com/
. There was a wonderful
section on colour matching (etc.) in the old Inside Macs that explained
all this nicely. Either that or move over to Quartz :-)
Perhaps this has jogged someone else's memory. We used to make calls
GetGWorld( &saveWorld, &orgGDH );
err = NewGWorld( &theGWorldP, 8, &bounds,
theCTableH, orgGDH, noNewDevice );
To reply via email, replace "LastNameHere" with my last name.