Important: The information in this document is obsolete and should not be used for new development.
GXValidateColorSet
You can use theGXValidateColorSet
function to check the parameters of a color set object.
void GXValidateColorSet(gxColorSet target);
target
- A reference to a color set object to be validated.
DESCRIPTION
TheGXValidateColorSet
function checks parameters for the color space, color-value array, owner count, and tag list properties for all color set objects. In addition, this function checks any internal caches built for the color set. If one or more of the parameters are not valid, QuickDraw GX posts a validation error.This function is not operational in the non-debugging version of QuickDraw GX.
SEE ALSO
QuickDraw GX validation is introduced in the section "Validation Functions" beginning on page 4-6. The use of validation functions is described in the section "Controlling Validation" beginning on page 4-15.