- Inside Macintosh: Imaging With QuickDraw /
- Chapter 4 - Color QuickDraw / Color QuickDraw Reference
- Color QuickDraw Routines
Determining Current Colors and Best Intermediate Colors
The GetForeColor and GetBackColor procedures allow you to obtain the foreground and background colors for the current graphics port, both basic and color. You can use the GetCPixel procedure to determine the color of an individual pixel. The GetGray function can do more than its name implies: it can return the best gray for a given graphics device, but it can also return the best available intermediate color between any two colors.
Subtopics
- GetForeColor
-
- GetBackColor
-
- GetCPixel
-
- GetGray
-
© Apple Computer, Inc.
7 JUL 1996