Adobe.com
Contents Suites Classes Class Index Member Index

AIArtConverter.h

Go to the documentation of this file.
00001 /*
00002  *
00003  *      AIArtConverter.h
00004  * ADOBE SYSTEMS INCORPORATED
00005  * Copyright 2002-2007 Adobe Systems Incorporated.
00006  * All rights reserved.
00007  *
00008  * NOTICE:  Adobe permits you to use, modify, and distribute this file 
00009  * in accordance with the terms of the Adobe license agreement 
00010  * accompanying it. If you have received this file from a source other 
00011  * than Adobe, then your use, modification, or distribution of it 
00012  * requires the prior written permission of Adobe.
00013  *
00014  */
00015 
00016 #ifndef __ArtConverterSuite__
00017 #define __ArtConverterSuite__
00018 
00019 
00020 /* Imports */
00021 
00022 #include "AIArt.h"
00023 
00024 
00025 #include "AIHeaderBegin.h"
00026 
00027 
00028 /* Constants */
00029 
00030 #define kAIArtConverterSuite                    "AI Art Converter Suite"
00031 #define kAIArtConverterSuiteVersion3    AIAPI_VERSION(3)
00032 #define kAIArtConverterSuiteVersion             kAIArtConverterSuiteVersion3
00033 #define kAIArtConverterVersion                  kAIArtConverterSuiteVersion
00034 
00037 enum {
00039         kOutlineExpandAppearance                = 0x0001,
00041         kOutlineEliminateUnpainted              = 0x0002,
00043         kOutlineAddStrokes                              = 0x0004,
00045         kOutlineSubtractStrokes                 = 0x0008,
00112         kOutlineAlwaysIncludeFillArea   = 0x0010,
00123         kOutlineAlwaysStrokeStraightLines       = 0x0020
00124 };
00125 
00127 #define kOutlineExpandStrokes (kOutlineAddStrokes|kOutlineSubtractStrokes)
00128 
00129 
00140 typedef struct {
00141 
00147         AIAPI AIErr (*ArtConvertToPaths)( AIArtHandle *art );
00148 
00167         AIAPI AIErr (*GetOutlineArt) ( AIArtHandle art, ai::int16 paintOrder, AIArtHandle destination,
00168                                                                         ai::int32 options, AIArtHandle *outlineArt );
00169 
00185         AIAPI AIErr (*ArtConvertToOutline) ( AIArtHandle *art, ai::int32 options );
00186 
00187 } AIArtConverterSuite;
00188 
00189 
00190 #include "AIHeaderEnd.h"
00191 
00192 #endif // __ArtConverterSuite__
00193 


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