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


GXValidateStyle

You can use the GXValidateStyle function to check the parameters of a style object.

void GXValidateStyle(gxStyle target);
target
A reference to a style object to be validated.
DESCRIPTION
The GXValidateStyle function checks parameters for the pen size, cap, join, dash, pattern, curve error, and attributes properties for all graphics style objects. It also checks parameters for the text face, text size, justification, font variations, platform, and text attributes properties for all typographic style objects. In addition, it confirms parameters for the run controls, run features array, glyph substitutions array, kerning adjustments, priority justification override, and glyph justification overrides array typographic properties for all layout shapes objects. In addition, this function checks any internal caches built for the style. If one or more parameters are not valid, QuickDraw GX posts a validation error.

This function is not operational in the non-debugging version of QuickDraw GX. If a discrepancy is found, QuickDraw GX posts an error.

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