Revision 64 trunk/org.gvsig.app.document.layout.app/org.gvsig.app.document.layout.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/fframes/FFrameView.java

View differences:

FFrameView.java
111 111
    protected double mapScale = 0;
112 112
    protected int mapUnits = 1; // Meters.
113 113

  
114
    private BufferedImage m_image = null;
115
    private AffineTransform at = null;
114
    protected BufferedImage m_image = null;
115
    protected AffineTransform at = null;
116 116
    protected Project project = null;
117
    private double scaleAnt;
118
    private boolean refresh = false;
119
    private Point origin;
120
    private Point2D p1;
121
    private Point2D p2;
122
    private IFFrame grid;
123
    private boolean showGrid = false;
117
    protected double scaleAnt;
118
    protected boolean refresh = false;
119
    protected Point origin;
120
    protected Point2D p1;
121
    protected Point2D p2;
122
    protected IFFrame grid;
123
    protected boolean showGrid = false;
124 124

  
125 125
    /**
126 126
     * Creates a new FFrameView object.
......
407 407
        }    
408 408
    }
409 409
    
410
    private void drawPresentation(Graphics2D g, AffineTransform affineTransform, Rectangle2D.Double rectangleLayout, Rectangle2D rectangleView, BufferedImage imgBase){
410
    protected void drawPresentation(Graphics2D g, AffineTransform affineTransform, Rectangle2D.Double rectangleLayout, Rectangle2D rectangleView, BufferedImage imgBase){
411 411
        Point mapOrigin = new Point((int)rectangleView.getMinX(), (int)rectangleView.getMaxY());
412 412

  
413 413
        ViewPort viewPort = this.getMapContext().getViewPort();
......
454 454
                getMapContext().draw(m_image, gimg, getScale());
455 455
                gimg.dispose();
456 456
            } catch (ReadException e) {
457
                LOG.error("Error reading the provider" , e);
457
                logger.error("Error reading the provider" , e);
458 458
            } catch (MapContextException mpex) {
459
                LOG.error("Error reading the provider" , mpex);
459
                logger.error("Error reading the provider" , mpex);
460 460
            }
461 461
            /*
462 462
            gimg.translate(((int) rectangleLayout.getX()),
......
492 492
     * @param height
493 493
     * @return
494 494
     */
495
    private BufferedImage copyForcingImageSize(
495
    protected BufferedImage copyForcingImageSize(
496 496
        BufferedImage disp_img, int w, int h) {
497 497
        
498 498
        if (disp_img == null || w < 1 || h < 1) {

Also available in: Unified diff