array world_to_window(float worldx, float worldy)
Converts world coordinates into window-relative coordinates.