resonance 1.0.1
Loading...
Searching...
No Matches
ACanvas::ARowInfo Struct Reference

One row of source pixels addressed to one destination row of a canvas. More...

#include <arowspan.h>

Collaboration diagram for ACanvas::ARowInfo:

Public Attributes

short mY
short mLeft
short mRight
bool mHasTransparentColor
unsigned char mPad07
unsigned int mTransparentColor
unsigned char * mSource
APalette * mPalette

Detailed Description

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).

Member Data Documentation

◆ mY

short ACanvas::ARowInfo::mY

The destination row. +0x00

◆ mLeft

short ACanvas::ARowInfo::mLeft

The first destination column. +0x02

◆ mRight

short ACanvas::ARowInfo::mRight

One past the last destination column. +0x04

◆ mHasTransparentColor

bool ACanvas::ARowInfo::mHasTransparentColor

Whether mTransparentColor applies. +0x06

◆ mPad07

unsigned char ACanvas::ARowInfo::mPad07

Padding the builder does not write. +0x07

◆ mTransparentColor

unsigned int ACanvas::ARowInfo::mTransparentColor

The source value to skip. +0x08

◆ mSource

unsigned char* ACanvas::ARowInfo::mSource

The source pixels, one byte per pixel. +0x0c

◆ mPalette

APalette* ACanvas::ARowInfo::mPalette

The palette the source indices belong to. +0x10


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