Expand description
Display List and Paint
Converts the layout tree into a flat display list of drawing commands (solid rectangles, text, borders, clipping), then rasterizes them into a pixel buffer. Uses integer-only alpha blending and the 8x16 bitmap font for text rendering.
Structs§
- Display
List - A display list of rendering commands
- Painter
- Pixel buffer painter
- Pixel
Rect - A rectangle in pixel coordinates (not fixed-point)
Enums§
- Border
Side - Side of a border
- Display
Command - A display command in the display list
Functions§
- alpha_
blend - Alpha-blend source over destination (integer math) Color format: ARGB (0xAARRGGBB)
- build_
display_ list - Build a display list from a layout tree