Important: The information in this document is obsolete and should not be used for new development.
MapPoints
You can use theMapPoints
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.