Function ggez::graphics::screen_coordinates[][src]

pub fn screen_coordinates(ctx: &Context) -> Rect
Expand description

Returns a rectangle defining the coordinate system of the screen. It will be Rect { x: left, y: top, w: width, h: height }

If the Y axis increases downwards, the height of the Rect will be negative.