Adobe.com
Contents Suites Classes Class Index Member Index

AITransformArt.h

Go to the documentation of this file.
00001 #ifndef __AITransformArt__
00002 #define __AITransformArt__
00003 
00004 /*
00005  *        Name: AITransformArt.h
00006  *   $Revision: 1 $
00007  *      Author:
00008  *        Date:
00009  *     Purpose: Adobe Illustrator Transform Art Suite.
00010  *
00011  * ADOBE SYSTEMS INCORPORATED
00012  * Copyright 1986-2007 Adobe Systems Incorporated.
00013  * All rights reserved.
00014  *
00015  * NOTICE:  Adobe permits you to use, modify, and distribute this file 
00016  * in accordance with the terms of the Adobe license agreement 
00017  * accompanying it. If you have received this file from a source other 
00018  * than Adobe, then your use, modification, or distribution of it 
00019  * requires the prior written permission of Adobe.
00020  *
00021  */
00022 
00023 
00024 /*******************************************************************************
00025  **
00026  **     Imports
00027  **
00028  **/
00029 
00030 #ifndef __AITypes__
00031 #include "AITypes.h"
00032 #endif
00033 
00034 #ifndef __AIArt__
00035 #include "AIArt.h"
00036 #endif
00037 
00038 #ifndef __AIPlugin__
00039 #include "AIPlugin.h"
00040 #endif
00041 
00042 #include "AIHeaderBegin.h"
00043 
00047 /*******************************************************************************
00048  **
00049  ** Constants
00050  **
00051  **/
00052 
00053 #define kAITransformArtSuite                    "AI Transform Art Suite"
00054 #define kAITransformArtSuiteVersion3    AIAPI_VERSION(3)
00055 #define kAITransformArtSuiteVersion             kAITransformArtSuiteVersion3
00056 #define kAITransformArtVersion                  kAITransformArtSuiteVersion
00057 
00058 
00059 /*******************************************************************************
00060  **
00061  **     Types
00062  **
00063  **/
00064 
00066 enum AITransformArtOptions {
00068         kTransformObjects                       = ((ai::int32) (1<<0)),
00070         kTransformFillGradients         = ((ai::int32) (1<<1)),
00072         kTransformFillPatterns          = ((ai::int32) (1<<2)),
00074         kTransformStrokePatterns        = ((ai::int32) (1<<3)),
00076         kScaleLines                                     = ((ai::int32) (1<<4)),
00079         kTransformLinkedMasks           = ((ai::int32) (1<<5)),
00081         kTransformChildren                      = ((ai::int32) (1<<6)),
00083         kTransformSelectionOnly         = ((ai::int32) (1<<7)),
00086         kTransformNotifyPluginGroups = ((ai::int32) (1<<8)),
00088         kTransformForPerspectivePlugin = ((ai::int32) (1<<9)),
00090         kTransformStrokeGradients = ((ai::int32) (1<<10)),
00092         kPreserveCornersMaintainingRadii                  = ((ai::int32) (1<<11)),
00094         kPreserveCornersScalingRadii              = ((ai::int32) (1<<12)),
00096         kTransformEntireArtStyle = kTransformFillGradients | kTransformFillPatterns | kTransformStrokePatterns | kScaleLines | kTransformStrokeGradients,
00098         kTransformBasicArtStyle = kTransformFillGradients | kTransformStrokeGradients
00099 };
00100 
00101 /*******************************************************************************
00102  **
00103  **     Suite
00104  **
00105  **/
00106 
00124 typedef struct {
00125 
00140         AIAPI AIErr (*TransformArt) ( AIArtHandle art, AIRealMatrix *matrix, AIReal lineScale, ai::int32 flags );
00141 
00142 } AITransformArtSuite;
00143 
00144 #include "AIHeaderEnd.h"
00145 
00146 
00147 #endif


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