21 Q3ColorRGB_Add

You can use the Q3ColorRGB_Add function to add two colors.

TQ3ColorRGB *Q3ColorRGB_Add (
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 sum of the two specified colors.

DESCRIPTION


The Q3ColorRGB_Add function returns, as its function result and in the result parameter, a pointer to an RGB color structure that represents the sum of the colors specified by the c1 and c2 parameters.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 18 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker