00001 #ifndef __AIForeignObject__
00002 #define __AIForeignObject__
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __AITypes__
00024 #include "AITypes.h"
00025 #endif
00026
00027
00028 #include "AIHeaderBegin.h"
00029
00032
00033
00035 #define kAIForeignObjectSuite "AI Foreign Object Suite"
00036
00037 #define kAIForeignObjectSuiteVersion4 AIAPI_VERSION(4)
00038
00039 #define kAIForeignObjectSuiteVersion kAIForeignObjectSuiteVersion4
00040
00041 #define kAIForeignObjectVersion kAIForeignObjectSuiteVersion
00042
00043
00044
00045
00046
00047
00050 typedef struct _AIDisplayPort *AIDisplayPortHandle;
00051
00052
00053
00054
00055
00056
00084 typedef struct AIForeignObjectSuite {
00085
00097 AIAPI AIErr (*New) (ai::int16 paintOrder, AIArtHandle prep, AIBoolean copyObjects, AIArtHandle *newArt);
00098
00104 AIAPI AIBoolean (*Is) (AIArtHandle art);
00105
00111 AIAPI AIErr (*GetBounds) ( AIArtHandle art, AIRealRect *bounds );
00112
00118 AIAPI AIErr (*SetBounds) ( AIArtHandle art, AIRealRect *bounds );
00119
00125 AIAPI AIErr (*GetMatrix) (AIArtHandle art, AIRealMatrix *matrix);
00126
00132 AIAPI AIErr (*SetMatrix) (AIArtHandle art, AIRealMatrix *matrix);
00133
00147 AIAPI AIErr (*GetDisplayPort)(AIArtHandle art, AIDisplayPortHandle *port);
00148
00150 AIAPI AIErr (*InstallResources)(AIArtHandle art);
00151
00163 AIAPI AIErr (*DuplicateForConversion)(AIArtHandle art, ai::int16 paintOrder, AIArtHandle prep, AIArtHandle* newArt);
00164
00165 } AIForeignObjectSuite;
00166
00167
00168 #include "AIHeaderEnd.h"
00169
00170
00171 #endif