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 8 - QuickDraw GX Mathematics / QuickDraw GX Mathematics Reference
Mapping Functions / Manipulating and Applying Mappings


MapPoints

You can use the MapPoints function to apply a mapping to each of the points in an array.

void MapPoints(const gxMapping *source, long count, 
               gxPoint vector[]);
source
A pointer to the mapping that is to be applied to the array of points.
count
The number of points in the array.
vector
The array of points to which the mapping is to be applied. On return, the array contains the transformed points.
ERRORS, WARNINGS, AND NOTICES
Errors
mapping_is_nil
parameter_is_nil
number_of_points_exceeds_implementation_limit
Warnings
map_points_out_of_range
SEE ALSO
For an example of a function that applies a mapping to a single point, see Listing 8-2 on page 8-30.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996