DSpContext_LocalToGlobal
You can use the DSpContext_LocalToGlobal function to translate a point's coordinates given in a context's local coordinates into global coordinates.
OSStatus DSpContext_LocalToGlobal ( DSpContextReference inContext, Point *ioPoint);
inContext
- The context whose local coordinate system describes the point's coordinates.
ioPoint
- Takes a point's local coordinates. On exit, contains the point's global coordinates.
- function result
- A result code.
DESCRIPTION
You pass the function the local coordinates of a point in theioPoint
parameter and, in theinContext
parameter, the context to which the local coordinates belong. The function returns, in theioPoint
parameter, the global coordinates of the point.CALLING RESTRICTIONS
Do not call this function during an interrupt.