Changeset 19605 in josm for trunk/src/org
- Timestamp:
- 2026-07-25T19:30:24+02:00 (6 days ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
-
actions/ShowStatusReportAction.java (modified) (1 diff)
-
tools/ImageProvider.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
r19120 r19605 173 173 "metadata-extractor2", 174 174 "signpost-core", "liboauth-signpost-java", 175 " svgsalamander"175 "jsvg" 176 176 }) { 177 177 String details = PlatformHookUnixoid.getPackageDetails(p); -
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r19588 r19605 7 7 import java.awt.Cursor; 8 8 import java.awt.Dimension; 9 import java.awt.geom.Dimension2D; 9 10 import java.awt.Graphics2D; 10 11 import java.awt.GraphicsEnvironment; … … 79 80 80 81 import com.github.weisj.jsvg.SVGDocument; 81 import com.github.weisj.jsvg.geometry.size.FloatSize;82 82 import com.github.weisj.jsvg.parser.DocumentLimits; 83 83 import com.github.weisj.jsvg.parser.LoaderContext; … … 1470 1470 Logging.trace("createImageFromSvg: {0}", dim); 1471 1471 } 1472 FloatSizesize = svg.size();1473 final floatsourceWidth = size.width;1474 final floatsourceHeight = size.height;1472 Dimension2D size = svg.size(); 1473 final double sourceWidth = size.getWidth(); 1474 final double sourceHeight = size.getHeight(); 1475 1475 if (sourceWidth <= 0 || sourceHeight <= 0) { 1476 1476 Logging.error("createImageFromSvg: {0} sourceWidth={1} sourceHeight={2}", dim, sourceWidth, sourceHeight);
Note:
See TracChangeset
for help on using the changeset viewer.
