Function conrod::utils::is_over_rect [−] [src]

pub fn is_over_rect(rect_point: Point, mouse_point: Point, rect_dim: Dimensions) -> bool

Return whether or not a given point is over a rectangle at a given point on a cartesian plane.