Ignore:
Timestamp:
2016-08-12T03:16:58+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #13291 - upgrade to svgSalamander v1.1.0 (patched)

now detects two invalid SVG files: presets/sport/volleyball.svg and presets/shop/diy_store.svg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/com/kitfox/svg/ShapeElement.java

    r8084 r10787  
    7676    }
    7777
     78    @Override
    7879    abstract public void render(java.awt.Graphics2D g) throws SVGException;
    7980
     
    8586     */
    8687
     88    @Override
    8789    void pick(Point2D point, boolean boundingBox, List retVec) throws SVGException
    8890    {
     
    9597    }
    9698
     99    @Override
    97100    void pick(Rectangle2D pickArea, AffineTransform ltw, boolean boundingBox, List retVec) throws SVGException
    98101    {
     
    161164                        if (ele != null)
    162165                        {
    163                             fillPaint = ((FillElement)ele).getPaint(bounds, xform);
     166                            try {
     167                                fillPaint = ((FillElement)ele).getPaint(bounds, xform);
     168                            } catch (IllegalArgumentException e) {
     169                                throw new SVGException(e);
     170                            }
    164171                        }
    165172                    }
Note: See TracChangeset for help on using the changeset viewer.