question: public void render ( Graphics graphics ) { if ( getNeedToRegenerate ( ) || getNeedToReposition ( ) || ! isVisible ( ) ) { return ; } boolean smallWorld = bitmap != null && corners != null && corners . size ( ) >= 4 ; if ( smallWorld ) { float [ ] xs = corners . get ( 2 ) ; float [ ] ys = corners . get ( 3 ) ; Point point1 = new Point ( ) ; point1 . setLocation ( ( double ) xs [ 0 ] , ( double ) ys [ 0 ] ) ; Point point2 = new Point ( ) ; point2 . setLocation ( ( double ) xs [ 2 ] , ( double ) ys [ 2 ] ) ; Graphics g = graphics . create ( ) ; if ( g instanceof Graphics2D && renderRotationAngle != null ) { rotate ( ( Graphics2D ) g ) ; } renderImage ( g , bitmap , point1 ) ; } super . render ( graphics ) ; }
target:  Render the raster on the java.awt.Graphics. Overrides the raster method because it checks to see if the raster is in a small-world situation, where the image must wrap around the world.