Defines | |
#define | __CPLAT_II__ 0x00020000 |
#define | CP_FOUR_CHAR_CODE(x) (x) |
#define | CP_MakeSInt32(x, y) ((SInt32)(((SInt32)(x)) | ((SInt32)((SInt32)(y))) << 16)) |
#define | CP_LoWord(x) ((SInt32)(x)) |
#define | CP_HiWord(x) ((SInt32)(((SInt32)(x) >> 16) & 0xFFFF)) |
#define | kCP_Clipboard_TypeText CP_FOUR_CHAR_CODE('TEXT') |
#define | kCP_Clipboard_TypeUnicodeText CP_FOUR_CHAR_CODE('utxt') |
#define | kCP_Clipboard_TypePicture CP_FOUR_CHAR_CODE('PICT') |
#define | NULL 0 |
#define | nil NULL |
#define | CP_MIN(a, b) (((a) < (b)) ? (a) : (b)) |
#define | CP_MAX(a, b) (((a) > (b)) ? (a) : (b)) |
#define | topLeft(inRect) (((Point *) &(inRect))[0]) |
#define | botRight(inRect) (((Point *) &(inRect))[1]) |
#define | CP_PI 3.141592653589793116 |
#define | CP_CR '\r' |
#define | CP_LF '\n' |
#define | CP_CRLF "\r\n" |
#define | CP_TAB '\t' |
#define | CP_USING_STD_NAMESPACE |
#define | CP_STD |
#define | CP_T(x) x |
Typedefs | |
typedef UInt16 | CPUniChar |
typedef UInt32 | CPUniCharCount |
typedef SInt32 | CP_CommandNo |
typedef Handle | OSMenuBar |
typedef MenuRef | OSMenu |
typedef WindowRef | OSWindow |
typedef GrafPtr | OSGraphicsPort |
typedef Handle | OSHandle |
typedef RgnHandle | OSRegion |
typedef ControlRef | OSControl |
typedef Ptr | OSPtr |
typedef SInt16 | OSFileRef |
typedef GWorldPtr | OSImageList |
typedef CIconHandle | OSColorIcon |
typedef PicHandle | OSPicture |
typedef IconRef | OSIconRef |
typedef Handle | OSIconSuite |
typedef FSVolumeRefNum | OSVolume |
typedef WindowClass | OSWindowClass |
Functions | |
static double | DegreesToRadians (double inDegrees) |
static double | RadiansToDegrees (double inRadians) |
Variables | |
const char | MAX_CHAR_8 = 127 |
const char | MIN_CHAR_8 = -128 |
const unsigned char | MAX_UCHAR_8 = 255 |
const SInt16 | MAX_SINT_16 = 32767 |
const SInt16 | MIN_SINT_16 = -32768 |
const SInt32 | MAX_SINT_32 = 0x7FFFFFFF |
const SInt32 | MIN_SINT_32 = 0x80000000 |
const UInt32 | MAX_UINT_32 = 0xFFFFFFFF |
const SInt16 | kCP_BadFileRefNum = -1 |
const SInt16 | kCP_PStyleString_MaxLength = 255 |
const SInt32 | kCP_InvalidIndex = -1 |
const SInt16 | kCP_NoImageIndex = -1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|