Skip to main content

paint

Function paint 

Source
pub fn paint(list: &List, area: Rect, scale: f64, target: &mut impl Target)
Expand description

The engine’s one paint entry point: area of the list — in the design’s coordinates — at scale device pixels per design pixel into target, whose top-left is the area’s. The commands that touch it, in paint order, each under exactly the layers its property state needs.