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


CopyToMapping

You can use the CopyToMapping function to copy a mapping from one location to another location.

gxMapping *CopyToMapping(gxMapping *target, 
                        const gxMapping *source);
target
A pointer to the destination mapping. On return, it is a copy of the source mapping.
source
A pointer to the mapping to be copied.
function result
A pointer to the copied mapping, which is also the target mapping.
DESCRIPTION
The CopyToMapping function copies the mapping pointed to by the source parameter into the location pointed to by the target parameter. Note that it may be faster in C to simply copy the gxMapping structure into another gxMapping structure than to call this function.

ERRORS, WARNINGS, AND NOTICES
Errors
mapping_is_nil

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996