Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Environment and Utilities /
Chapter 4 - QuickDraw GX Debugging / QuickDraw GX Debugging Reference
Functions / Validating Objects


GXValidateShape

You can use the GXValidateShape function to check the parameters of a shape object.

void GXValidateShape(gxShape target);
target
A reference to a shape object to be validated.
DESCRIPTION
The GXValidateShape function checks parameters for the type, geometry, fill, style, ink, transform, attributes, owner count, and tag list properties for all shape objects. In addition, this function checks any internal caches built for the shape. If one or more of the parameters are not valid, a validation error is posted.

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 discussed in the section "Controlling Validation" beginning on page 4-15.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996