Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!mips!cs.uoregon.edu!gla-aux.uucp!glenn From: glenn@gla-aux.uucp (Glenn Austin) Newsgroups: comp.sys.mac.programmer Subject: Re: HOWTO: Gray things in color Message-ID: <0E010021.vh6hfc@gla-aux.uucp> Date: 28 May 91 22:34:36 GMT Reply-To: glenn%gla-aux.uucp@skinner.cs.uoregon.edu Organization: The Pit Lane Lines: 21 X-Mailer: uAccess - Mac Release: 1.0.4a In article <1CE00001.geic0m@tbomb.ice.com>, time@ice.com (Tim Endres) writes: > This seems like a really stupid question, but I see no reference to > it in my docs. I've have heard say that the way to get the nice smooth > dimming in color is to "blend a 50% gray RGB". Use CopyMask to gray the item (there's a pretty good example on Color Plate XXIII in the front of IM 6 of the result). If you are drawing it in gray, check for System 7 and color, then set the RGBForeColor to the best gray (from using GetGray), and simply draw the item. =============================================================================== | Glenn L. Austin | "Turn too soon, run out of room. | | Macintosh Wizard and | Turn too late, much better fate." | | Auto Racing Driver | -- Jim Russell Racing School Instructors | |-----------------------------------------------------------------------------| | Don't take me too seriously -- I never do! :-) | |-----------------------------------------------------------------------------| | Usenet: glenn@gla-aux.uucp or glenn%gla-aux.uucp@skinner.cs.uoregon.edu | ===============================================================================