AIRaster.h File Reference
#include "AITypes.h"
#include "AIArt.h"
#include "IAIFilePath.hpp"
#include "IAIColorSpace.hpp"
#include "AIRasterTypes.h"
#include "AIHeaderBegin.h"
Go to the source code of this file.
| Classes | 
| struct | AISlice | 
|  | A slice, which defines a subset of a raster data to be copied or replaced, in AITile::bounds.  More...
 | 
| struct | AITile | 
|  | A tile, which describes local storage for copying image data to and from.  More... 
 | 
| struct | AIRGBColorRec | 
|  | An RGB color table.  More... 
 | 
| struct | AIExtendedRGBColorRec | 
|  | An extended (16-bit) RGB color table.  More... 
 | 
| struct | AICMYKColorRec | 
|  | A CMYK color table.  More... 
 | 
| struct | AIRasterRecord | 
|  | Configuration information for the raster image data associated with an art object of type kRasterArt.  More...
 | 
| struct | AIRasterLink | 
|  | Link information about an image.  More... 
 | 
| struct | AIRasterOutlineParams | 
|  | Parameters for controlling the curve fitting used when outlining a raster.  More... 
 | 
| struct | AIRasterOutlineConsumer | 
|  | When extracting an outline from a raster, the curves are enumerated to these callbacks.  More... 
 | 
| struct | AIRasterSuite | 
|  | This suite provides functions with which to access and modify the data associated with an art object of type kRasterArt.  More...
 | 
| Defines | 
| #define | kAIRasterSuite   "AI Raster Suite" | 
| #define | kAIRasterSuiteVersion10   AIAPI_VERSION(10) | 
| #define | kAIRasterSuiteVersion   kAIRasterSuiteVersion10 | 
| #define | kAIRasterVersion   kAIRasterSuiteVersion | 
| Enumerations | 
| enum | AIRasterFlags { kRasterMaskImageType =  0x0002, 
kRasterInvertBits =  0x0004, 
kRasterGraySubtractive =  0x0008
 } | 
|  | Options for raster data, bit flags for More...AIRasterRecord::flags. 
 | 
| enum | AIRasterLinkState { kAIRasterLinked =  0, 
kAIRasterEmbedded =  1
 } | 
|  | Link states for More...AIRasterLink::linkstate. 
 | 
| enum | AIResolveRasterLinkFlags { kAIResolveCheckExternal =  (1<<0), 
kAIResolveCheckFile =  (1<<1), 
kAIResolveVerbose =  (1<<2), 
kAIResolveReplace =  (1<<3),
 kAIResolveSearch =  (1<<4)
 }
 | 
|  | Flags for More...AIRasterSuite::ResolveRasterLink(). 
 | 
| enum | AISplitRasterFlags { kAISplitRasterStandard =  0x0000, 
kAISplitRasterSeparateProcess =  0x0001
 } | 
|  | Flags for More...AIRasterSuite::SplitChannels(). 
 | 
Detailed Description
Define Documentation
      
        
          | #define kAIRasterSuite   "AI Raster Suite" | 
      
 
 
      
        
          | #define kAIRasterSuiteVersion   kAIRasterSuiteVersion10 | 
      
 
 
      
        
          | #define kAIRasterSuiteVersion10   AIAPI_VERSION(10) | 
      
 
 
      
        
          | #define kAIRasterVersion   kAIRasterSuiteVersion | 
      
 
 
Enumeration Type Documentation
Options for raster data, bit flags for AIRasterRecord::flags. 
- Enumerator: 
- 
| kRasterMaskImageType | Used only for 1-bit gray images.  When set, the 1-bit data is to be used as a mask. In this case the path style of the image indicates the color that the bits of the image with a value of 1 are painted.  |  | kRasterInvertBits | Used only for 1-bit gray images.  Reverses the sense of the component values so that for a gray image 0=white and 1=black and for an image mask the 0 value pixels are painted.  |  | kRasterGraySubtractive | Used only for 8-bit spot color rasters, or 16-bit if there is an extra alpha channel.  When set, the gray component values are interpreted in the subtractive color spaces.  |  
 
 
 
Link states for AIRasterLink::linkstate. 
Direct linking of images is deprecated (although still supported). Create linked objects using the AIPlacedSuite. 
- Enumerator: 
- 
| kAIRasterLinked | The image is linked; when saving native round-trip information, image data is not saved into the file.  |  | kAIRasterEmbedded | The image is embedded; when saving native round-trip information, image data is saved with the file.  |  
 
 
 
Flags for AIRasterSuite::ResolveRasterLink(). 
Direct linking of images is deprecated (although still supported). Create linked objects using the AIPlacedSuite. 
- Enumerator: 
- 
| kAIResolveCheckExternal | Only update if the data is not embedded.  |  | kAIResolveCheckFile | Only update if the file has changed.  |  | kAIResolveVerbose | Report errors to user and show progress.  |  | kAIResolveReplace | Allow a replacement file to be selected in case of error.  |  | kAIResolveSearch | Do automatic searching for a replacement.  |  
 
 
 
Flags for AIRasterSuite::SplitChannels(). 
- Enumerator: 
- 
| kAISplitRasterStandard | Decompose the original raster into an array of rasters specified in the standard color spaces (Gray, RGB, CMYK and spot Separation).  If the original raster contains a partial set of CMYK process colors, it is expanded to the full process colors.  |  | kAISplitRasterSeparateProcess | Decompose the CMYK process channels of the original raster into individual process Separation color spaces.  If the original raster contains a partial set of CMYK process colors, is not expanded to the full process channels.  |