21 Q3ColorRGB_Scale

You can use the Q3ColorRGB_Scale function to scale a color.

TQ3ColorRGB *Q3ColorRGB_Scale (
const TQ3ColorRGB *color, 
float scale, 
TQ3ColorRGB *result);
color An RGB color structure.
scale A scaling factor.
result On exit, a pointer to an RGB color structure for the color that is the scale of the specified color.

DESCRIPTION


The Q3ColorRGB_Scale function returns, as its function result and in the result parameter, a pointer to an RGB color structure that represents the result of scaling the color specified by the color parameter by the factor specified by the scale parameter.

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