Browse Source

Merge pull request #50 in DESIGN/design from ~PLOUGH/10-design:feature/10.0 to feature/10.0

* commit '7a589be3aa9717299557dcd31f45f6995a7d682d':
  REPORT-7222 安全性之水印=>调整代码
master
superman 7 years ago
parent
commit
4586e18897
  1. 2
      designer-base/src/com/fr/design/report/WatermarkPreviewPane.java

2
designer-base/src/com/fr/design/report/WatermarkPreviewPane.java

@ -32,6 +32,6 @@ public class WatermarkPreviewPane extends JPanel {
super.paint(g); super.paint(g);
Graphics2D g2d = (Graphics2D)g; Graphics2D g2d = (Graphics2D)g;
g2d.drawImage(UIConstants.WATERMARK_BACKGROUND, 0, 0, this.getWidth(), this.getHeight(), null); g2d.drawImage(UIConstants.WATERMARK_BACKGROUND, 0, 0, this.getWidth(), this.getHeight(), null);
WatermarkPainter.getInstance().paint(watermark, g2d, this.getWidth(), this.getHeight(), true); new WatermarkPainter().paint(watermark, g2d, this.getWidth(), this.getHeight());
} }
} }

Loading…
Cancel
Save