Skip to main content

paint_label

Function paint_label 

Source
pub fn paint_label(cx: &KitCx<'_>, data: &ComponentKit, part: &Part<'_>)
Expand description

Paints a part’s label where label_rect puts it, in its state’s text, on whole physical pixels. What handlers do unless they draw labels their own way.