Adobe.com
Contents Suites Classes Class Index Member Index

AISliceTypes.h

Go to the documentation of this file.
00001 #ifndef __SLICE_TYPES_H__
00002 #define __SLICE_TYPES_H__
00003 
00004 /*
00005 *        Name:  AISliceTypes.h
00006 *     Purpose:  This file contains information related to slices without much overhead.
00007 *
00008 * ADOBE SYSTEMS INCORPORATED
00009 * Copyright 1999-2007 Adobe Systems Incorporated.
00010 * All rights reserved.
00011 *
00012 * NOTICE:  Adobe permits you to use, modify, and distribute this file 
00013 * in accordance with the terms of the Adobe license agreement 
00014 * accompanying it. If you have received this file from a source other 
00015 * than Adobe, then your use, modification, or distribution of it 
00016 * requires the prior written permission of Adobe.
00017 *
00018 */
00019 
00020 
00021 #include "ASTypes.h"
00022 
00023 #include "AIHeaderBegin.h"
00024 
00027 #ifdef __cplusplus
00028 namespace ai {
00029 #endif
00030 
00032         const ASInt32 kImageReadySlicesVersion = 5;
00034         const ASInt32 kImageReadySlicesOriginVersion = 6;
00035 
00037         const ASInt32 kInvalidSliceID = -1;
00039         const ASInt32 kDefaultSliceID = 0;
00041         const ASInt32 kInvalidSliceGroupID = -1;
00043         const ASInt32 kDefaultSliceGroupID = 0;
00045         const ASInt32 kFirstUserSliceGroupID = 1;
00047         const ASInt32 kFirstUserSliceSoloGroupID = kFirstUserSliceGroupID + 100000;
00048 
00050         const ASInt32 kMinSliceDim = 1;
00052         const ASInt32 kForceEnumSize = 0x7FFFFFFF;
00053 
00055         enum ESliceOrigin {
00057                 eSliceOrigin_autoGenerated,
00059                 eSliceOrigin_layerGenerated,
00061                 eSliceOrigin_userGenerated,
00063                 eSliceOrigin_Unknown = kForceEnumSize
00064                 };
00065 
00067         enum ESliceType {
00069                 eSliceType_NoImage,
00071                 eSliceType_Image,
00073                 eSliceType_Rollover,
00075                 eSliceType_LinkedText,
00076                 eSliceType_Unknown = kForceEnumSize
00077                 };
00078 
00080         enum ESliceHorzAlign {
00082                 eSliceHorzAlign_Default = 0,
00084                 eSliceHorzAlign_Left,
00086                 eSliceHorzAlign_Center,
00088                 eSliceHorzAlign_Right,
00090                 eSliceHorzAlign_Unknown = kForceEnumSize
00091                 };
00092 
00094         enum ESliceVertAlign {
00096                 eSliceVertAlign_Default = 0,
00098                 eSliceVertAlign_Top,
00100                 eSliceVertAlign_Middle,
00102                 eSliceVertAlign_Bottom,
00104                 eSliceVertAlign_Baseline,
00106                 eSlicevertAlign_Unknown = kForceEnumSize
00107                 };
00108 
00110         enum ESliceBGColorType {
00112                 eSliceBGColorType_Color = 0,
00114                 eSliceBGColorType_None,
00116                 eSliceBGColorType_Matte,
00118                 eSliceBGColorType_Unknown = kForceEnumSize
00119                 };
00120 
00121 #ifdef __cplusplus
00122         } // namespace
00123 #endif
00124 
00125 #include "AIHeaderEnd.h"
00126 #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