Expand description
Pixel buffers and the anti-aliasing scratch buffer.
Bitmap<P> replaces SplashBitmap with a clean, always-top-down,
typed-generic alternative. Key differences from the C++ original:
rowSizeis always positive (no bottom-up layout).- Typed row access via
bytemuck::cast_slice— zero-copy, no mode switch. - Alpha is an
Option<Vec<u8>>separate plane (matching C++ layout).
AaBuf is the 1-bit supersampled scratch buffer used by the AA fill
path. It is 4 rows × (bitmap_width × 4) columns, MSB-first packed.
Structs§
- AaBuf
- Anti-aliasing scratch buffer: 4 rows × (
bitmap_width× 4) columns, 1 bit/pixel. - Bitmap
- A typed, top-down pixel buffer.
- Bitmap
Band - A mutable view into a horizontal band of a
Bitmap.
Enums§
- AnyBitmap
- A mode-erased bitmap, used when the transparency group stack must store bitmaps of varying pixel types without monomorphizing the entire stack.