Ignore:
Timestamp:
2017-02-02T00:08:08+01:00 (7 years ago)
Author:
Don-vip
Message:

see #14319 - update to latest version of svgSalamander (2017-01-07, patched)

File:
1 edited

Legend:

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

    r10787 r11525  
    9393    }
    9494
     95    @Override
    9596    public String getTagName()
    9697    {
     
    9899    }
    99100   
     101    @Override
    100102    public void build() throws SVGException
    101103    {
     
    163165    }
    164166
     167    @Override
    165168    public SVGRoot getRoot()
    166169    {
     
    262265    {
    263266        prepareViewport();
    264 
     267       
    265268        Rectangle targetViewport = g.getClipBounds();
    266 
     269//
     270//        if (targetViewport == null)
     271//        {
     272//            Dimension size = Toolkit.getDefaultToolkit().getScreenSize();
     273//            targetViewport = new Rectangle(0, 0, size.width, size.height);
     274//        }
     275//        clipRect.setRect(targetViewport);
     276
     277       
    267278        Rectangle deviceViewport = diagram.getDeviceViewport();
    268279        if (width != null && height != null)
     
    294305        else
    295306        {
     307//            Dimension size = Toolkit.getDefaultToolkit().getScreenSize();
     308//            targetViewport = new Rectangle(0, 0, size.width, size.height);
    296309            targetViewport = new Rectangle(deviceViewport);
    297310        }
     
    319332    }
    320333
    321     public void pick(Rectangle2D pickArea, AffineTransform ltw, boolean boundingBox, List retVec) throws SVGException
     334    @Override
     335    public void pick(Rectangle2D pickArea, AffineTransform ltw, boolean boundingBox, List<List<SVGElement>> retVec) throws SVGException
    322336    {
    323337        if (viewXform != null)
     
    330344    }
    331345   
    332     public void pick(Point2D point, boolean boundingBox, List retVec) throws SVGException
     346    @Override
     347    public void pick(Point2D point, boolean boundingBox, List<List<SVGElement>> retVec) throws SVGException
    333348    {
    334349        Point2D xPoint = new Point2D.Double(point.getX(), point.getY());
     
    347362    }
    348363
     364    @Override
    349365    public Shape getShape()
    350366    {
     
    353369    }
    354370
     371    @Override
    355372    public Rectangle2D getBoundingBox() throws SVGException
    356373    {
     
    381398     * update
    382399     */
     400    @Override
    383401    public boolean updateTime(double curTime) throws SVGException
    384402    {
Note: See TracChangeset for help on using the changeset viewer.