public AffineTransform getTransform ( ) { at . setTransform ( pix_per_world , 0.0 , 0.0 , - pix_per_world , pix_x0 , pix_y0 ) ; if ( debug ) { System . out . println ( "Navigation getTransform = " + pix_per_world + " " + pix_x0 + " " + pix_y0 ) ; System . out . println ( " transform = " + at ) ; } return at ; }
Get the affine transform based on screen size and world bounding box