|
|
|
@ -410,8 +410,8 @@ public class FormDesignerUI extends ComponentUI {
|
|
|
|
|
clipg = g.create( |
|
|
|
|
-designer.getHorizontalScaleValue(), |
|
|
|
|
-designer.getVerticalScaleValue() + designer.getParaHeight(), |
|
|
|
|
parent.getSize().width + designer.getHorizontalScaleValue(), |
|
|
|
|
parent.getSize().height + designer.getVerticalScaleValue()); |
|
|
|
|
component.getSize().width + designer.getHorizontalScaleValue(), |
|
|
|
|
component.getSize().height + designer.getVerticalScaleValue()); |
|
|
|
|
|
|
|
|
|
designer.paintContent(clipg); |
|
|
|
|
paintWatermark((Graphics2D) clipg); |
|
|
|
@ -436,7 +436,7 @@ public class FormDesignerUI extends ComponentUI {
|
|
|
|
|
Graphics clipg1; |
|
|
|
|
clipg1 = g.create(-designer.getHorizontalScaleValue(), |
|
|
|
|
-designer.getVerticalScaleValue(), |
|
|
|
|
parent.getSize().width + designer.getHorizontalScaleValue(), |
|
|
|
|
component.getSize().width + designer.getHorizontalScaleValue(), |
|
|
|
|
designer.getParaHeight() + designer.getVerticalScaleValue()); |
|
|
|
|
|
|
|
|
|
designer.paintPara(clipg1); |
|
|
|
|