pub fn transform(ctx: &ggez::Context, (x, y): (f32, f32)) -> (f32, f32) {
	let screen = graphics::screen_coordinates(ctx);
	let (width, height) = graphics::drawable_size(ctx);
	(screen.x + (screen.w / width) * x, screen.y + (screen.h / height) * y)
}
/// Transforms absolute coordinates into screen coordinates.
Transforms absolute coordinates into screen coordinates.
Transforms absolute coordinates into screen coordinates .
pub fn transform(ctx: &ggez::Context, (x, y): (f32, f32)) -> (f32, f32) {
	let screen = graphics::screen_coordinates(ctx);
	let (width, height) = graphics::drawable_size(ctx);
	(screen.x + (screen.w / width) * x, screen.y + (screen.h / height) * y)
}
pub fn transform ( ctx : & ggez :: Context , ( x , y ) : ( f32 , f32 ) ) -> ( f32 , f32 ) { let screen = graphics :: screen_coordinates ( ctx ) ; let ( width , height ) = graphics :: drawable_size ( ctx ) ; ( screen . x + ( screen . w / width ) * x , screen . y + ( screen . h / height ) * y ) }
Transforms absolute coordinates into screen coordinates.
Transforms absolute coordinates into screen coordinates .
ctx
(f32, f32)
ctx
(f32, f32)