DataRep:
TYPE ~
RECORD[
terminal: Terminal.Virtual ← NIL,
frame: ImagerPixelMap.PixelMap,
mapEntries: ImagerDitheredDevice.MapEntries ← NIL,
table: ImagerDither.Table ← NIL,
case: Case ← nil, -- what type of color
zerosAreClear: BOOL ← FALSE, -- special case for sampled black clear.
flags: PrincOps.BitBltFlags ← [], -- bitblt flags
grayWord: WORD ← 0, -- bitblt gray word
packedRGB: WORD ← 0, -- for case = rgb
stipple: StippleArray ← ALL[0], -- stipple pattern
fTileOrg: NAT ← 0,
sTileOrg: NAT ← 0,
sampledColor: ImagerColorDefs.SampledColor ← NIL, -- sampled color
sampledColorData: SampledColorData ← NIL, -- cached data associated with sampledColor
paToDevice: ImagerTransformation.Transformation ← NIL, -- transformation from pa coords to display
sampBuffer: ImagerSample.SampleBuffer ←, -- scan line buffer for samples
lineBuffer: ImagerSample.SampleBuffer ←, -- for ops that cannot go directly to frame
sampler: ImagerSample.Sampler ←, -- sampler information
extras: REF ← NIL
];
SampledColorDataRep:
TYPE ~
RECORD [
packing: ImagerDither.PackedColorDesc,
source: ImagerPixelMap.PixelMap -- 16 bits per pixel, packed RGB, with space for tile index.
];