Browse Source

REPORT-7222 安全性之水印=>支持公式

master
plough 7 years ago
parent
commit
458ffcf0f5
  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);
Graphics2D g2d = (Graphics2D)g;
g2d.drawImage(UIConstants.WATERMARK_BACKGROUND, 0, 0, this.getWidth(), this.getHeight(), null);
WatermarkPainter.getInstance().paint(watermark, g2d, this.getWidth(), this.getHeight());
WatermarkPainter.getInstance().paint(watermark, g2d, this.getWidth(), this.getHeight(), true);
}
}

Loading…
Cancel
Save