Adobe.com
Contents Suites Classes Class Index Member Index

AISlice Struct Reference

A slice, which defines a subset of a raster data to be copied or replaced, in AITile::bounds. More...

#include <AIRaster.h>

List of all members.

Public Member Functions

void Init ()

Public Attributes

ai::int32 top
ai::int32 left
ai::int32 bottom
ai::int32 right
ai::int32 front
ai::int32 back

Detailed Description

A slice, which defines a subset of a raster data to be copied or replaced, in AITile::bounds.

The slice of the source and destination are of equal dimensions, but differ in location.

The top, bottom, left, and right values specify the rectangle containing the pixel data. As you iterate through a raster object accessing slices of pixels, these values change, controlling which section of the pixel map is being processed.

The slice values for local pixel data are typically the same as the bounding rectangle of the tile (although you can also iterate through slices in a tile).

The front and back, together with the AITile::channelInterleave value, the control which of the pixel channels should be copied. The front value specifies the first channel to be affected, and the back value specifies the last channel + 1. See Channel Interleaving.


Member Function Documentation

void AISlice::Init (  )  [inline]

References back, bottom, front, left, right, and top.

Referenced by AITile::Init().


Member Data Documentation

ai::int32 AISlice::back

Referenced by Init().

ai::int32 AISlice::bottom

Referenced by Init().

ai::int32 AISlice::front

Referenced by Init().

ai::int32 AISlice::left

Referenced by Init().

ai::int32 AISlice::right

Referenced by Init().

ai::int32 AISlice::top

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