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 typedef struct {
00092         ai::int16  type;
00094         ai::int32 whichAttr, attr;
00095 } AIMatchingArtSpec;
00096 
00097 
00098 /*******************************************************************************
00099  **
00100  **     Suite
00101  **
00102  **/
00103 
00128 struct AIMatchingArtSuite {
00129 
00142         AIAPI AIErr (*GetSelectedArt) ( AIArtHandle ***matches, ai::int32 *numMatches );
00156         AIAPI AIErr (*GetMatchingArt) ( AIMatchingArtSpec *specs, ai::int16  numSpecs,
00157                         AIArtHandle ***matches, ai::int32 *numMatches );
00158 
00159         // new to Illustrator 9.0
00160 
00172         AIAPI AIErr (*GetSelectedArtFromLayerList) ( AILayerList list, AIArtHandle ***matches,
00173                         ai::int32 *numMatches );
00174 
00188         AIAPI AIErr (*GetMatchingArtFromLayerList) ( AILayerList list, AIMatchingArtSpec *specs,
00189                 ai::int16  numSpecs, AIArtHandle ***matches, ai::int32 *numMatches );
00190 
00191         // new to Illustrator 10.0
00192 
00206         AIAPI AIErr (*GetArtForCurrentPathStyle) ( AIArtHandle ***matches, ai::int32 *numMatches );
00207 
00217         AIAPI AIBoolean (*IsSomeArtSelected) ( void );
00218 
00235         AIAPI AIErr (*GetMatchingArtFromArt) ( AIArtHandle searchArt, AIMatchingArtSpec *specs,
00236                 ai::int16 numSpecs, AIArtHandle ***matches, ai::int32 *numMatches );
00237 
00238         // new to Illustrator 11.0
00239 
00241         AIAPI AIErr (*DeselectAll) ( void );
00242 
00243 };
00244 
00245 
00246 #include "AIHeaderEnd.h"
00247 
00248 #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