Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

Data Types
[Rt2d]


Data Structures

struct  Rt2dBBox
struct  Rt2dBrush
struct  Rt2dFont
struct  Rt2dObject
struct  Rt2dPath

Typedefs

typedef Rt2dObject *(* Rt2dObjectCallBack )(Rt2dObject *object, Rt2dObject *parent, void *data)
typedef Rt2dFont *(* Rt2dFontCallBackRead )(const RwChar *name)

Enumerations

enum  Rt2dObjectTypeEnum {
  rt2DOBJECTTYPEOBJECT = 0, rt2DOBJECTTYPESCENE, rt2DOBJECTTYPESHAPE, rt2DOBJECTTYPEPICKREGION,
  rt2DOBJECTTYPEOBJECTSTRING, rt2DOBJECTTYPEFORCEENUMSIZEINT = RWFORCEENUMSIZEINT
}
enum  Rt2dJustificationType { rt2dJUSTIFYLEFT, rt2dJUSTIFYCENTER, rt2dJUSTIFYRIGHT, rt2DJUSTIFICATIONTYPEFORCEENUMSIZEINT = RWFORCEENUMSIZEINT }
enum  Rt2dShapeNodeFlag { rt2dSHAPENODEFLAGNONE = 0x0000, rt2dSHAPENODEFLAGSOLID = 0x0001, rt2dSHAPENODEFLAGFORCEENUMSIZEINT = RWFORCEENUMSIZEINT }

Detailed Description

Basic Data Types

Typedef Documentation

typedef Rt2dFont*(* Rt2dFontCallBackRead)(const RwChar *name)
 

Rt2dFontCallBackRead Rt2dFontCallBackRead represents the function used by Rt2dFontRead to read the specified font from a disk file. This function should return a pointer to the font to indicate success. The returned font is owned by the Rt2d internal font dictionary, and is destroyed on calling Rt2dClose

Parameters:
name  is the name of the font to read
Returns:
return the font if successful, NULL otherwise
See also:
Rt2dFontSetReadCallBack , Rt2dFontGetReadCallBack

typedef Rt2dObject*(* Rt2dObjectCallBack)(Rt2dObject *object, Rt2dObject *parent, void *data)
 

Rt2dObjectCallBack typedef for a callback on an object in a collection

Parameters:
object  is a specific object
parent  is the containing scene
data  is user data
Returns:
return value is ignored


Enumeration Type Documentation

enum Rt2dJustificationType
 

Rt2dJustificationType enumeration describing Justification

Enumeration values:
rt2dJUSTIFYLEFT  Left-justification
rt2dJUSTIFYCENTER  Center-justification
rt2dJUSTIFYRIGHT  Right-justification

enum Rt2dObjectTypeEnum
 

Rt2dObjectTypeEnum enumeration describing types of Rt2dObject

Enumeration values:
rt2DOBJECTTYPEOBJECT  An untyped (yet) object
rt2DOBJECTTYPESCENE  Container of objects
rt2DOBJECTTYPESHAPE  Shape object
rt2DOBJECTTYPEPICKREGION  Pick region object
rt2DOBJECTTYPEOBJECTSTRING  Text string object

enum Rt2dShapeNodeFlag
 

Rt2dShapeNodeFlag Passed to Rt2dShapeAddNode, these flags specify the type and properties of the path.

Enumeration values:
rt2dSHAPENODEFLAGSOLID  Shape's node is a solid, not outline


Criterion Software © 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:47:06 2004. Send Feedback