Skip to main content

get_location

Function get_location 

Source
pub fn get_location(rec: &Rect64, pt: &Point64, loc: &mut Location) -> bool
Expand description

Get the location of a point relative to a rectangle Returns false if the point is on the rectangle edge, true otherwise Direct port from clipper.rectclip.cpp line 37