|
resonance 1.0.1
|
One row of source pixels addressed to one destination row of a canvas. More...
#include <arowspan.h>

Public Attributes | |
| short | mY |
| short | mLeft |
| short | mRight |
| bool | mHasTransparentColor |
| unsigned char | mPad07 |
| unsigned int | mTransparentColor |
| unsigned char * | mSource |
| APalette * | mPalette |
One row of source pixels addressed to one destination row of a canvas.
The record is not polymorphic and has no RTTI. ACanvas::DrawClutBitmapRowLin8U() and ACanvas::DrawBlendBitmapRowLin8U() consume it.
The record is 0x14 bytes. ACanvas::DrawClutBitmapLin4U() builds one on its stack and fills every member except the padding byte. The stores settle both the layout and the order. The row runs from mLeft up to but excluding mRight.
Only ACanvas::DrawClutBitmapLin4U() writes mPalette, and no consumer recovered so far reads it. Its type follows the value stored (the source palette, then the canvas palette, then the global default palette addressed by the pointer at 0x0086f6f0).
| short ACanvas::ARowInfo::mY |
The destination row. +0x00
| short ACanvas::ARowInfo::mLeft |
The first destination column. +0x02
| short ACanvas::ARowInfo::mRight |
One past the last destination column. +0x04
| bool ACanvas::ARowInfo::mHasTransparentColor |
Whether mTransparentColor applies. +0x06
| unsigned char ACanvas::ARowInfo::mPad07 |
Padding the builder does not write. +0x07
| unsigned int ACanvas::ARowInfo::mTransparentColor |
The source value to skip. +0x08
| unsigned char* ACanvas::ARowInfo::mSource |
The source pixels, one byte per pixel. +0x0c
| APalette* ACanvas::ARowInfo::mPalette |
The palette the source indices belong to. +0x10