Skip to main content

anchor_point

Function anchor_point 

pub fn anchor_point(rect: &Rect, anchor: Anchor) -> Point
Expand description

Compute a Point inside a Rect using the given Anchor.