Up: GEOS SDK TechDocs | Up | Prev: GStringElement ... | Next: HeapCongestion ...

GStringErrorType

typedef enum /* word */ {
GSET_NO_ERROR,
GSET_DISK_FULL
} GStringErrorType;

 

GStringKillType

See GrDestroyGString() .

GStringSetPosType

See GrSetGStringPos() .

GStringType

typedef ByteEnum GStringType;
#define GST_CHUNK				0
#define GST_STREAM 				1
#define GST_VMEM 				2
#define GST_PTR 				3
#define GST_PATH 				4

 

Handle

typedef word Handle;

 

HatchDash

typedef struct {
WWFixed		HD_on;
WWFixed		HD_off;
} HatchDash;

 

HatchLine

typedef struct {
PointWWFixed		HL_origin;
WWFixed		HL_deltaX;
WWFixed		HL_deltaY;
WWFixed		HL_angle;
ColorQuad		HL_color;
word		HL_numDashes;
	/* array of HatchDash structures follows here */
} HatchLine;

 

HatchPattern

typedef struct {
word HP_numLines;
/* array of HatchLine structures follows here */
} HatchPattern;

 

HeapAllocFlags

typedef ByteFlags HeapAllocFlags;
#define HAF_ZERO_INIT					0x80
#define HAF_LOCK 					0x40
#define HAF_NO_ERR 					0x20
#define HAF_UI 					0x10
#define HAF_READ_ONLY 					0x08
#define HAF_OBJECT_RESOURCE 					0x04
#define HAF_CODE 					0x02
#define HAF_CONFORMING 					0x01
#define HAF_STANDARD					(0)
#define HAF_STANDARD_NO_ERR					(HAF_NO_ERR)
#define HAF_STANDARD_LOCK					(HAF_LOCK)
#define HAF_STANDARD_NO_ERR_LOCK (HAF_NO_ERR | HAF_LOCK)

HeapAllocFlags indicate how the block should be allocated and initialized. They are not stored and can not be retrieved. Only some of the flags can be passed with MemReAlloc() ; these are noted below. The following flags are available:

HAF_ZERO_INIT
The memory manager should initialize the block to null bytes. This flag may be passed to MemReAlloc() to cause new memory to be zero-initialized.
HAF_LOCK
The memory manager should lock the block after allocating it. To get the block's address, call MemDeref() . This flag may be passed to MemReAlloc() .
HAF_NO_ERR
The memory manager should not return errors. If it cannot allocate block, GEOS will tell the user that there is no memory available and crash. Use of this flag is strongly discouraged. This flag may be passed to MemReAlloc() .
HAF_UI
If both HAF_OBJECT_RESOURCE and HAF_UI are set, this block will be run by the application's UI thread.
HAF_READ_ONLY
The block's data will not be modified. Useful for the debugger.
HAF_OBJECT_RESOURCE
This block will be an object block.
HAF_CODE
This block contains executable code.
HAF_CONFORMING
If the block contains code, the code may be run by a less privileged entity. If the block contains data, the data may be accessed or altered by a less privileged entity.

Up: GEOS SDK TechDocs | Up | Prev: GStringElement ... | Next: HeapCongestion ...