Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 2 - DrawSprocket / DrawSprocket Reference
DrawSprocket Functions / Drawing and Double Buffering


DSpContext_GetScale

Use the DSpContext_GetScale function to return the current pixel scaling setting for the context.

OSStatus DSpContext_GetScale (
DSpContextReference inContext,
DSpBufferScale *outScale);
inContext
A reference to the context whose pixel scaling setting you want.
outScale
On exit, the pixel scaling setting. See "Pixel Scaling" (page 2-25) for a description of the returned value.
function result
A result code.
DESCRIPTION
You pass the function a reference to a context in the inContext parameter and it returns, in the outScale parameter, the pixel scaling setting for that context.

CALLING RESTRICTIONS
Do not call this function during an interrupt.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996