mirror of
https://github.com/meteoinfo/MeteoInfo.git
synced 2025-12-08 20:36:05 +00:00
Set identity transform for Graphics2D in reDraw function
This commit is contained in:
parent
2cdea897e2
commit
aeccc671d0
@ -34,6 +34,7 @@ import javax.xml.parsers.DocumentBuilder;
|
|||||||
import javax.xml.parsers.DocumentBuilderFactory;
|
import javax.xml.parsers.DocumentBuilderFactory;
|
||||||
import javax.xml.parsers.ParserConfigurationException;
|
import javax.xml.parsers.ParserConfigurationException;
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
|
import java.awt.geom.AffineTransform;
|
||||||
import java.awt.geom.Line2D;
|
import java.awt.geom.Line2D;
|
||||||
import java.awt.geom.Rectangle2D;
|
import java.awt.geom.Rectangle2D;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
@ -463,6 +464,7 @@ public class MapPlot extends AbstractPlot2D implements IWebMapPanel {
|
|||||||
@Override
|
@Override
|
||||||
public void reDraw(Graphics2D graphics2D, int width, int height) {
|
public void reDraw(Graphics2D graphics2D, int width, int height) {
|
||||||
if (this.parent != null) {
|
if (this.parent != null) {
|
||||||
|
graphics2D.setTransform(new AffineTransform());
|
||||||
this.parent.paintGraphics(graphics2D, width, height);
|
this.parent.paintGraphics(graphics2D, width, height);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,13 +22,11 @@
|
|||||||
<OpenedFile File="D:\Working\MIScript\Jython\mis\plot_types\3d\jogl\plot\traj_3d.py"/>
|
<OpenedFile File="D:\Working\MIScript\Jython\mis\plot_types\3d\jogl\plot\traj_3d.py"/>
|
||||||
<OpenedFile File="D:\Working\MIScript\Jython\mis\plot_types\3d\3d_earth\CALIPSO_L1_3d_axis.py"/>
|
<OpenedFile File="D:\Working\MIScript\Jython\mis\plot_types\3d\3d_earth\CALIPSO_L1_3d_axis.py"/>
|
||||||
<OpenedFile File="D:\Working\MIScript\Jython\mis\map\webmap\plotweb_1.py"/>
|
<OpenedFile File="D:\Working\MIScript\Jython\mis\map\webmap\plotweb_1.py"/>
|
||||||
<OpenedFile File="D:\Working\MIScript\Jython\mis\satellite\FY\FY2E_PRE_proj.py"/>
|
|
||||||
</OpenedFiles>
|
</OpenedFiles>
|
||||||
<RecentFiles>
|
<RecentFiles>
|
||||||
<RecentFile File="D:\Working\MIScript\Jython\mis\plot_types\3d\jogl\plot\traj_3d.py"/>
|
<RecentFile File="D:\Working\MIScript\Jython\mis\plot_types\3d\jogl\plot\traj_3d.py"/>
|
||||||
<RecentFile File="D:\Working\MIScript\Jython\mis\plot_types\3d\3d_earth\CALIPSO_L1_3d_axis.py"/>
|
<RecentFile File="D:\Working\MIScript\Jython\mis\plot_types\3d\3d_earth\CALIPSO_L1_3d_axis.py"/>
|
||||||
<RecentFile File="D:\Working\MIScript\Jython\mis\map\webmap\plotweb_1.py"/>
|
<RecentFile File="D:\Working\MIScript\Jython\mis\map\webmap\plotweb_1.py"/>
|
||||||
<RecentFile File="D:\Working\MIScript\Jython\mis\satellite\FY\FY2E_PRE_proj.py"/>
|
|
||||||
</RecentFiles>
|
</RecentFiles>
|
||||||
</File>
|
</File>
|
||||||
<Font>
|
<Font>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user