public void paint ( Paintable paintable , Object group , MapContext context ) { // Group for objects in raster space context . getRasterContext ( ) . drawGroup ( null , mapWidget . getGroup ( RenderGroup . RASTER ) , mapWidget . getMapModel ( ) . getMapView ( ) . getPanToViewTranslation ( ) ) ; // Group for objects in vector space context . getVectorContext ( ) . drawGroup ( null , mapWidget . getGroup ( RenderGroup . VECTOR ) , mapWidget . getMapModel ( ) . getMapView ( ) . getPanToViewTranslation ( ) ) ; // Group for objects in world space context . getVectorContext ( ) . drawGroup ( null , mapWidget . getGroup ( RenderGroup . WORLD ) , mapWidget . getMapModel ( ) . getMapView ( ) . getPanToViewTranslation ( ) ) ; // Group for objects in screen space context . getVectorContext ( ) . drawGroup ( null , mapWidget . getGroup ( RenderGroup . SCREEN ) ) ; }
The actual painting function . Draws the basic groups .