Revision 141 branches/usability_v2/org.gvsig.app.document.layout.app/org.gvsig.app.document.layout.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/fframes/FFrame.java

View differences:

FFrame.java
484 484
        BufferedImage imgBase);
485 485

  
486 486
    /**
487
     * Devuelve el boundingBox del fframe en funci�n de la transformada af�n
488
     * que se pasa como par�metro. Si se pasa como par�metro null, devuelve
489
     * el
490
     * �ltimo boundingbox que se calcul�.
487
     * Returns the bounding box (in pixels) of this FFrame, based on the provided
488
     * AffineTransform. If the AffineTransform is null, it returns the last
489
     * calculated bounding box.
491 490
     * 
492
     * @param at
493
     *            Transformada af�n
494
     * 
495
     * @return Rect�ngulo que representa el BoundingBox del fframe.
491
     * @param at Affine transform to apply to the sheet coordinates to get the
492
     *  		bounding box in pixels.
493
     * @return Rectangle representing the bounding box (in pixels) of this
494
     * FFrame
496 495
     */
497 496
    public Rectangle2D.Double getBoundingBox(AffineTransform at) {
498 497
        if (at != null) {
......
520 519
    }
521 520

  
522 521
    /**
523
     * Devuelve el rect�ngulo que representa el fframe en cent�metros.
522
     * Returns the bounding box in centimeters of this FFrame
523
     * Returns the rectangle that represents the FFrame in centimeters.
524 524
     * 
525
     * @return Rect�ngulo en centimetros.
525
     * @return The bounding box of this FFrame, measured in centimeters.
526 526
     */
527 527
    public Rectangle2D.Double getBoundBox() {
528 528
        return m_BoundBox;
......
580 580
    }
581 581

  
582 582
    /**
583
     * Dibuja sobre el graphics el rect�ngulo del fframe pero vacio, mostrando
584
     * el nombre del fframe y vacio.
583
     * Draws the FFrame rectangle on the provided Graphics2D, only showing the
584
     * FFrame name on an empty rectangle.
585 585
     * 
586
     * @param g
587
     *            Graphics sobre el que dibujar.
586
     * @param g The graphics to draw on
588 587
     */
589 588
    public void drawEmpty(Graphics2D g) {
590 589
        Rectangle2D r = getBoundingBox(null);

Also available in: Unified diff