Adobe.com
Contents Suites Classes Class Index Member Index

AITile Struct Reference

A tile, which describes local storage for copying image data to and from. More...

#include <AIRaster.h>

List of all members.

Public Member Functions

void Init ()

Public Attributes

void * data
 A pointer to the memory containing the local copy of the pixels.
AISlice bounds
 The slice that defines the tile (a subset of the pixel map to be copied in one iteration), a rectangular area plus depth information that controls how interleaving occurs.
ai::int32 rowBytes
 The number of bytes in a row of pixel data.
ai::int32 colBytes
 The number of bytes used to specify a single pixel.
ai::int32 planeBytes
 When 0, the tile receives all color data for a single pixel together.
ai::int16 channelInterleave [kMaxChannels]
 Together with the slice information, this array specifies how to change the order of bytes making up a pixel when transferring between a raster art object and the tile data.

Detailed Description

A tile, which describes local storage for copying image data to and from.

Use with AIRasterSuite::GetRasterTile() and AIRasterSuite::SetRasterTile().


Member Function Documentation

void AITile::Init (  )  [inline]

Member Data Documentation

The slice that defines the tile (a subset of the pixel map to be copied in one iteration), a rectangular area plus depth information that controls how interleaving occurs.

See Channel Interleaving.

Referenced by Init().

ai::int16 AITile::channelInterleave[kMaxChannels]

Together with the slice information, this array specifies how to change the order of bytes making up a pixel when transferring between a raster art object and the tile data.

See Channel Interleaving.

Referenced by Init().

ai::int32 AITile::colBytes

The number of bytes used to specify a single pixel.

For a raw RGB pixel, for example, it is 3.

Referenced by Init().

void* AITile::data

A pointer to the memory containing the local copy of the pixels.

Can be a generic block of memory or a platform-specific data structure. Must be allocated by the plug-in.

Referenced by Init().

ai::int32 AITile::planeBytes

When 0, the tile receives all color data for a single pixel together.


When non-zero, the tile receives all data for a color together (in a planar form). In this case, the value is the number of bytes making up a single plane. For instance if the pixel map is 80 by 80 pixels and the RGB data is in a planar form, the value is 6400.

Referenced by Init().

ai::int32 AITile::rowBytes

The number of bytes in a row of pixel data.

Referenced by Init().


The documentation for this struct was generated from the following file:


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