Skip to main content

paint_sample

Function paint_sample 

Source
pub fn paint_sample(ui: &Ui, rect: Rect, tool: ToolCursor)
Expand description

Paints a tool cursor with painter in a square (the gallery’s samples, a legend): the bitmap the system would show, as a texture.