856857858859860861862863864865866
Rectangle db = presentationFigure.displayBox(); for (FigureEnumeration fe = figures(); fe.hasMoreElements();) { Figure f = fe.nextFigure(); Rectangle kind = f.displayBox(); db = db.union(kind); } return db; }
8485868788899091929394
{ r = ((LayoutableTag) subFigure).getLayouter().calculateSize(); } else { r = subFigure.displayBox(); } width = Math.max(r.width, width); // Add sub figure height and vertical insets
143144145146147148149150151152153
{ r = ((LayoutableTag) subFigure).getLayouter().calculateSize(); } else { r = subFigure.displayBox(); } // Set the sub figure position and size int x = xBaseLine + CommonUtil.rnd(xFactor * r.width); r.setLocation(x, yPos);
149150151152153154155156157158159
} // Set the sub figure position and size int x = xBaseLine + CommonUtil.rnd(xFactor * r.width); r.setLocation(x, yPos); subFigure.displayBox(r); // Add sub figure height and vertical insets yPos += insets.top + insets.bottom + r.height; } }