|
Public Member Functions |
| int32 | Width () const |
| int32 | Height () const |
| int32 | Depth () const |
| int32 | Stride () const |
| int32 | Planes () const |
| int32 | RightSideUp () const |
| PixelBucketType | Type () const |
| void * | Reserved () const |
| int32 | Width1 () const |
| int32 | Height1 () const |
| boolean | DepthStrideEqual () const |
| boolean | ByteStrideAligned () const |
| boolean | WordStrideAligned () const |
| boolean | LongStrideAligned () const |
| int32 | Int16Aligned () const |
| int32 | Int32Aligned () const |
| int32 | ByteStride () const |
| int32 | RowPaddingBytes () const |
| int32 | RowPixelBytes () const |
| void | Rect (TMCRect *r) const |
| void | Rect (TMCRect &r) const |
| TMCRect | Rect (void) const |
| boolean | IsValid () const |
| | TMCPixelBucket () |
| | TMCPixelBucket (uint8 *baseAddressParam, int32 rowBytesParam, int32 widthParam, int32 heightParam, int32 depthParam, int32 planesParam, boolean rightSideUpParam, PixelBucketType type=eDefault) |
| | TMCPixelBucket (uint8 *baseAddressParam, int32 rowBytesParam, int32 widthParam, int32 heightParam, int32 depthParam, int32 pixelStride, int32 planesParam, boolean rightSideUpParam, PixelBucketType type=eDefault) |
| | TMCPixelBucket (TMCPixelBucket *pixelBucket) |
| | TMCPixelBucket (TMCPixelBucket &pixelBucket, const TMCRect &subRect) |
| void | BuildCore (uint8 *baseAddressParam, int32 rowBytesParam, int32 widthParam, int32 heightParam, int32 depthParam, int32 planesParam, boolean rightSideUpParam, PixelBucketType type=eDefault) |
| void | BuildCore (uint8 *baseAddressParam, int32 rowBytesParam, int32 widthParam, int32 heightParam, int32 depthParam, int32 pixelStride, int32 planesParam, boolean rightSideUpParam, PixelBucketType type) |
| void | BuildFromPixelBucket (const TMCPixelBucket &pixelBucket, const TMCRect &subRect) |
| void | Invalidate () |
| void | SetBaseAddress (void *baseAddress) |
| void | SetRowBytes (int32 rowBytes) |
| void | SetWidth (int32 width) |
| void | SetHeight (int32 height) |
| void | SetDepth (int32 depth) |
| void | SetPlanes (int32 planes) |
| void | SetRightSideUp (boolean rightSide) |
| void | SetStride (int32 stride) |
| void | SetType (PixelBucketType type) |
| void | SetBaseAddressNoCache (void *baseAddress) |
| void | SetRowBytesNoCache (int32 rowBytes) |
| void | SetWidthNoCache (int32 width) |
| void | SetHeightNoCache (int32 height) |
| void | SetDepthNoCache (int32 depth) |
| void | SetPlanesNoCache (int32 planes) |
| void | SetRightSideUpNoCache (boolean rightSide) |
| void | SetTypeNoCache (PixelBucketType type) |
| void | SetStrideNoCache (int32 stride) |
| void | BuildCache () |
| uint8 * | BaseAddress () const |
| uint16 * | BaseAddress16 () const |
| uint32 * | BaseAddress32 () const |
| int32 | RowBytes () const |
| int16 | RowBytes16 () const |
| int32 | RowBytes32 () const |
| uint8 * | RowPtr (int32 row) const |
| uint16 * | RowPtr16 (int32 row) const |
| uint32 * | RowPtr32 (int32 row) const |
| uint8 * | PixelPtr (int32 x, int32 y) const |
| uint16 * | PixelPtr16 (int32 x, int32 y) const |
| uint32 * | PixelPtr32 (int32 x, int32 y) const |
| int32 | RowInc () const |
| int32 | RowInc16 () const |
| int32 | RowInc32 () const |
| int32 | ColInc () const |
| int32 | ColInc16 () const |
| int32 | ColInc32 () const |
| int32 | PaddingInc () const |
| int32 | Padding16Inc () const |
| int32 | Padding32Inc () const |
| boolean | FlipRows () |
Protected Attributes |
| uint8 * | fBaseAddress |
| | pointer to base address as a byte
|
| int32 | fRowBytes |
| | length of each scanline in bytes
|
| int32 | fWidth |
| | horizontal pixels
|
| int32 | fHeight |
| | vertical pixels
|
| int32 | fDepth |
| | bitdepth 8,24,32, etc.
|
| int32 | fStride |
| | stride in bits, typically equally to fDepth
|
| int32 | fPlanes |
| | fDepth/8, ie 1,3,4, etc.
|
| int32 | fRightSideUp |
| | true if fBaseAddress points to first scanline
|
| int32 | fRowPaddingBytes |
| | (bytes), padding at end of a scanline
|
| int32 | fRowPixelBytes |
| | (bytes), the fWidth of a row (fRowBytes - fRowPaddingBytes)
|
| int32 | fRowInc |
| | (bytes), to next sequential scanline
|
| int32 | fPaddingInc |
| | (bytes), from end of scanline to next sequential scanline
|
| PixelBucketType | fType |
| | type of pixel bucket.
|
| boolean | fValid |
| | true if constructed properly
|
Private Attributes |
| void * | fReserved |
| | DO NOT TOUCH THIS ON PENALTY OF DEATH!!!!
|
Friends |
| class | TMCOffscreen |
TMCPixelBucket does NOT own its memory. It is generally used in conjunction with a TMCOffscreen, or with a memory bloc that was allocated for it (and that you need to delete).