Adobe.com
Contents Suites Classes Class Index Member Index

AIHardSoft.h

Go to the documentation of this file.
00001 #pragma  once
00002 
00003 /*
00004 * ADOBE CONFIDENTIAL
00005 *
00006 * Copyright 2009 Adobe
00007 * All Rights Reserved.
00008 *
00009 * NOTICE:  Adobe permits you to use, modify, and distribute this file in
00010 * accordance with the terms of the Adobe license agreement accompanying
00011 * it. If you have received this file from a source other than Adobe,
00012 * then your use, modification, or distribution of it requires the prior
00013 * written permission of Adobe.
00014 *
00015 */
00016 
00017 /*******************************************************************************
00018 **
00019 **      Imports
00020 **
00021 **/
00022 
00023 #ifndef __AITypes__
00024 #include "AITypes.h"
00025 #endif
00026 
00027 
00028 #include "AIHeaderBegin.h"
00029 
00032 /*******************************************************************************
00033 **
00034 **      Constants
00035 **
00036 **/
00037 
00038 #define kAIHardSoftSuite                        "AI Hard Soft Suite"
00039 #define kAIHardSoftSuiteVersion6        AIAPI_VERSION(6)
00040 #define kAIHardSoftSuiteVersion         kAIHardSoftSuiteVersion6
00041 #define kAIHardSoftVersion                      kAIHardSoftSuiteVersion
00042 
00045 #define kAICurrentCoordinateSystemChangedNotifier               "AI Current Coordinate System Changed Notifier"
00046 
00047 /*******************************************************************************
00048 **
00049 **      Types
00050 **
00051 **/
00052 
00055 enum AICoordinateSystem
00056 {
00059         kAIDocumentCoordinateSystem,
00062         kAIArtboardCoordinateSystem,
00065         kAICurrentCoordinateSystem
00066 };
00067 
00068 /*******************************************************************************
00069 **
00070 **      Suite
00071 **
00072 **/
00073 
00115 typedef struct {                
00116 
00123         AIAPI AIErr (*AIRealPointHarden) ( AIRealPoint* srcpoint, AIRealPoint* dstpoint );
00124 
00131         AIAPI AIErr (*AIRealPointSoften) ( AIRealPoint* srcpoint, AIRealPoint* dstpoint );
00132 
00138         AIAPI AIErr (*AIRealMatrixHarden) ( AIRealMatrix* matrix );
00139 
00146         AIAPI AIErr (*AIRealMatrixSoften) ( AIRealMatrix* matrix );
00147 
00153         AIAPI AIErr (*AIRealMatrixRealHard) ( AIRealMatrix* matrix );
00154 
00160         AIAPI AIErr (*AIRealMatrixRealSoft) ( AIRealMatrix* matrix );
00161 
00173         AIAPI AIErr (*GetCoordinateSystem)(ai::int32& coordinateSystem);
00174 
00187         AIAPI AIErr (*SetCoordinateSystem)(ai::int32 coordinateSystem);
00188 
00197         AIAPI AIErr (*ConvertCoordinates)(AIRealPoint& point,ai::int32 src,ai::int32 dest, AIBoolean convertForDisplay);
00198 
00204         AIAPI AIErr(*AIRealRectHarden)(const AIRealRect& inRect, AIRealRect& outRect);
00205 
00206 
00212         AIAPI AIErr(*AIRealRectSoften)(const AIRealRect& inRect, AIRealRect& outRect);
00213 
00214 } AIHardSoftSuite;
00215 
00216 
00217 #include "AIHeaderEnd.h"
00218 


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2014 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks