⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module paint

Module paint 

Source
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§

DisplayList
A display list of rendering commands
Painter
Pixel buffer painter
PixelRect
A rectangle in pixel coordinates (not fixed-point)

Enums§

BorderSide
Side of a border
DisplayCommand
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