Browse Source

问题修复

feature/big-screen
kerry 4 years ago
parent
commit
44339dd381
  1. 8
      designer-form/src/main/java/com/fr/design/mainframe/FormDesignerUI.java

8
designer-form/src/main/java/com/fr/design/mainframe/FormDesignerUI.java

@ -409,8 +409,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.getArea().getHorizontalValue(), (int) ((parent.getSize().width + designer.getArea().getHorizontalValue()) / designer.getScale()),
parent.getSize().height + designer.getArea().getVerticalValue()); (int) ((parent.getSize().height + designer.getArea().getVerticalValue()) / designer.getScale()));
designer.paintContent(clipg); designer.paintContent(clipg);
paintWatermark((Graphics2D) clipg); paintWatermark((Graphics2D) clipg);
@ -435,8 +435,8 @@ 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.getArea().getHorizontalValue(), (int) ((parent.getSize().width + designer.getArea().getHorizontalValue()) / designer.getScale()),
designer.getParaHeight() + designer.getArea().getVerticalValue()); (int) ((designer.getParaHeight() + designer.getArea().getVerticalValue()) / designer.getScale()));
designer.paintPara(clipg1); designer.paintPara(clipg1);
clipg1.dispose(); clipg1.dispose();

Loading…
Cancel
Save