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.
UtilCode/GWorldUtils.h
/* |
// GWorldUtils.h |
// |
// Created: 8/12/91 at 8:01:49 PM |
// By: Tony Myles |
// |
// Copyright: © 1991-93 Tony Myles, All rights reserved worldwide |
// |
// Description: some utility routines to help create graphics worlds |
*/ |
#ifndef __GWORLDUTILS__ |
#define __GWORLDUTILS__ |
#ifndef __QDOFFSCREEN__ |
#include <QDOffscreen.h> |
#endif |
// QuickDraw.h |
OSErr CreateOptimumGWorld(GWorldPtr *optGWorld, Rect *devRect); |
OSErr CreateGWorldFromPictResource(GWorldPtr *pictGWorldP, short pictResID); |
OSErr CreateGWorldFromPict(GWorldPtr *pictGWorld, PicHandle pictH); |
OSErr CreateGWorldFromCIconResource(GWorldPtr *iconGWorldP, short iconResID); |
OSErr CreateGWorldFromCIcon(GWorldPtr *iconGWorldP, CIconHandle cIconH); |
OSErr CreateGWorldFromCIconMask(GWorldPtr *maskGWorldP, CIconHandle cIconH); |
OSErr CreateRegionFromCIconMask(RgnHandle *maskRgn, CIconHandle cIconH); |
#endif |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14