Function ggez::graphics::size [−][src]
pub fn size(context: &Context) -> (f32, f32)
Expand description
Returns the size of the window in pixels as (width, height), including borders, titlebar, etc. Returns zeros if the window doesn’t exist.