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

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

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.