Skip to main content

target

Function target 

Source
pub fn target(ctx: &Context, name: &str, rect: Rect)
Expand description

Names a rectangle a tip may point at (a tip’s target): call it each pass the element is drawn. Names are stable ids (photos.rating, param:exposure).