Ignore:
Timestamp:
2018-10-14T15:15:50+02:00 (6 years ago)
Author:
Don-vip
Message:

see #14319, see #16838 - update to svgSalamander 1.1.2

File:
1 edited

Legend:

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

    r11525 r14328  
    105105    XMLReader cachedReader;
    106106
     107    //If true, <imageSVG> elements will only load image data that is included using inline data: uris
     108    private boolean imageDataInlineOnly = false;
     109
    107110    /**
    108111     * Creates a new instance of SVGUniverse
     
    130133        loadedFonts.clear();
    131134        loadedImages.clear();
     135    }
     136
     137    /**
     138     * Returns the current animation time in milliseconds.
     139     */
     140    public double getCurTime()
     141    {
     142        return curTime;
     143    }
     144
     145    public void setCurTime(double curTime)
     146    {
     147        double oldTime = this.curTime;
     148        this.curTime = curTime;
     149        changes.firePropertyChange("curTime", new Double(oldTime), new Double(curTime));
     150    }
     151
     152    /**
     153     * Updates all time influenced style and presentation attributes in all SVG
     154     * documents in this universe.
     155     */
     156    public void updateTime() throws SVGException
     157    {
     158        for (SVGDiagram dia : loadedDocs.values()) {
     159            dia.updateTime(curTime);
     160        }
    132161    }
    133162
     
    648677        return universe;
    649678    }
     679
     680    /**
     681     * @return the imageDataInlineOnly
     682     */
     683    public boolean isImageDataInlineOnly()
     684    {
     685        return imageDataInlineOnly;
     686    }
     687
     688    /**
     689     * @param imageDataInlineOnly the imageDataInlineOnly to set
     690     */
     691    public void setImageDataInlineOnly(boolean imageDataInlineOnly)
     692    {
     693        this.imageDataInlineOnly = imageDataInlineOnly;
     694    }
    650695}
Note: See TracChangeset for help on using the changeset viewer.