Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 21 - QuickDraw 3D Color Utilities / QuickDraw 3D Color Utilities Reference
QuickDraw 3D Color Utilities /


Q3ColorRGB_Subtract

You can use the Q3ColorRGB_Subtract function to subtract one color from another.

TQ3ColorRGB *Q3ColorRGB_Subtract (
const TQ3ColorRGB *c1, 
const TQ3ColorRGB *c2, 
TQ3ColorRGB *result);
c1
An RGB color structure.
c2
An RGB color structure.
result
On exit, a pointer to an RGB color structure for the color that is the difference of the two specified colors.
DESCRIPTION
The Q3ColorRGB_Subtract function returns, as its function result and in the result parameter, a pointer to an RGB color structure that represents the result of subtracting the color specified by the c2 parameter from the color specified by the c1 parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help