Lines 63-69
Link Here
|
63 |
IFigure figure = editPart.getFigure(); |
63 |
IFigure figure = editPart.getFigure(); |
64 |
Rectangle bounds = null; |
64 |
Rectangle bounds = null; |
65 |
if (figure instanceof IExpandableFigure) |
65 |
if (figure instanceof IExpandableFigure) |
66 |
bounds = ((IExpandableFigure) figure).getExtendedBounds(); |
66 |
bounds = ((IExpandableFigure) figure).getExtendedBounds().getCopy(); |
67 |
else |
67 |
else |
68 |
bounds = figure.getBounds().getCopy(); |
68 |
bounds = figure.getBounds().getCopy(); |
69 |
translateTo(bounds, figure, printableLayer); |
69 |
translateTo(bounds, figure, printableLayer); |