Function ggez::graphics::get_screen_coordinates
[−]
[src]
pub fn get_screen_coordinates(ctx: &Context) -> Rect
Returns a rectangle defining the coordinate system of the screen.
It will be Rect { x: left, y: bottom, w: width, h: height }
If the Y axis increases downwards, the height
of the Rect
will be negative.