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