Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Clippings/createsprites.c/CreateSpriteLayerGWorld.txt
// create a sprite layer graphics world with a bit depth of 32 |
NewGWorld (&gSpritePlane, 32, &bounds, nil, nil, useTempMem); |
if (gSpritePlane == nil) |
{ |
NewGWorld (&gSpritePlane, 32, &bounds, nil, nil, 0); |
} |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14