|
|
|
@ -409,8 +409,8 @@ public class FormDesignerUI extends ComponentUI {
|
|
|
|
|
clipg = g.create( |
|
|
|
|
-designer.getHorizontalScaleValue(), |
|
|
|
|
-designer.getVerticalScaleValue() + designer.getParaHeight(), |
|
|
|
|
parent.getSize().width + designer.getArea().getHorizontalValue(), |
|
|
|
|
parent.getSize().height + designer.getArea().getVerticalValue()); |
|
|
|
|
(int) ((parent.getSize().width + designer.getArea().getHorizontalValue()) / designer.getScale()), |
|
|
|
|
(int) ((parent.getSize().height + designer.getArea().getVerticalValue()) / designer.getScale())); |
|
|
|
|
|
|
|
|
|
designer.paintContent(clipg); |
|
|
|
|
paintWatermark((Graphics2D) clipg); |
|
|
|
@ -435,8 +435,8 @@ public class FormDesignerUI extends ComponentUI {
|
|
|
|
|
Graphics clipg1; |
|
|
|
|
clipg1 = g.create(-designer.getHorizontalScaleValue(), |
|
|
|
|
-designer.getVerticalScaleValue(), |
|
|
|
|
parent.getSize().width + designer.getArea().getHorizontalValue(), |
|
|
|
|
designer.getParaHeight() + designer.getArea().getVerticalValue()); |
|
|
|
|
(int) ((parent.getSize().width + designer.getArea().getHorizontalValue()) / designer.getScale()), |
|
|
|
|
(int) ((designer.getParaHeight() + designer.getArea().getVerticalValue()) / designer.getScale())); |
|
|
|
|
|
|
|
|
|
designer.paintPara(clipg1); |
|
|
|
|
clipg1.dispose(); |
|
|
|
|