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


GXValidateViewPort

You can use the GXValidateViewPort function to check the parameters of a view port object.

void GXValidateViewPort(gxViewPort target);
target
A reference to a view port object to be validated.
DESCRIPTION
The GXValidateViewPort function checks parameters for the clip, mapping, dither, halftone, parent view port, child view port list, view device, attributes, owner count, and tag list properties for all view port objects. In addition, this function checks any internal caches built for the view port. 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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996