Adobe.com
Contents Suites Classes Class Index Member Index

AIMatchingArt.h

Go to the documentation of this file.
00001 #ifndef __AIMatchingArt__
00002 #define __AIMatchingArt__
00003 
00004 /*
00005  *        Name: AIMatchingArt.h
00006  *   $Revision: 4 $
00007  *      Author:
00008  *        Date:
00009  *     Purpose: Adobe Illustrator Matching 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 __AILayerList__
00039 #include "AILayerList.h"
00040 #endif
00041 
00042 
00043 #include "AIHeaderBegin.h"
00044 
00047 /*******************************************************************************
00048  **
00049  **     Constants
00050  **
00051  **/
00052 
00053 #define kAIMatchingArtSuite                     "AI Matching Art Suite"
00054 #define kAIMatchingArtSuiteVersion      AIAPI_VERSION(7)
00055 #define kAIMatchingArtVersion           kAIMatchingArtSuiteVersion
00056 
00057 
00058 /*******************************************************************************
00059  **
00060  **     Types
00061  **
00062  **/
00063 
00088 struct AIMatchingArtSpec {
00089     AIMatchingArtSpec(ai::int32 _type = 0, ai::int32 _whichattr = 0, ai::int32 _attr = 0):
00090         type(static_cast<ai::int16>(_type)), whichAttr(_whichattr), attr(_attr) {}
00091     
00095         ai::int16  type;
00097         ai::int32 whichAttr, attr;
00098 } ;
00099 
00100 
00101 /*******************************************************************************
00102  **
00103  **     Suite
00104  **
00105  **/
00106 
00131 struct AIMatchingArtSuite {
00132 
00145         AIAPI AIErr (*GetSelectedArt) ( AIArtHandle ***matches, ai::int32 *numMatches );
00159         AIAPI AIErr (*GetMatchingArt) ( AIMatchingArtSpec *specs, ai::int16  numSpecs,
00160                         AIArtHandle ***matches, ai::int32 *numMatches );
00161 
00162         // new to Illustrator 9.0
00163 
00175         AIAPI AIErr (*GetSelectedArtFromLayerList) ( AILayerList list, AIArtHandle ***matches,
00176                         ai::int32 *numMatches );
00177 
00191         AIAPI AIErr (*GetMatchingArtFromLayerList) ( AILayerList list, AIMatchingArtSpec *specs,
00192                 ai::int16  numSpecs, AIArtHandle ***matches, ai::int32 *numMatches );
00193 
00194         // new to Illustrator 10.0
00195 
00209         AIAPI AIErr (*GetArtForCurrentPathStyle) ( AIArtHandle ***matches, ai::int32 *numMatches );
00210 
00220         AIAPI AIBoolean (*IsSomeArtSelected) ( void );
00221 
00238         AIAPI AIErr (*GetMatchingArtFromArt) ( AIArtHandle searchArt, AIMatchingArtSpec *specs,
00239                 ai::int16 numSpecs, AIArtHandle ***matches, ai::int32 *numMatches );
00240 
00241         // new to Illustrator 11.0
00242 
00244         AIAPI AIErr (*DeselectAll) ( void );
00245 
00246 };
00247 
00248 
00249 #include "AIHeaderEnd.h"
00250 
00251 #endif


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