xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Hardy <vincent.ha...@sun.com>
Subject cvs commit: xml-batik/test-references/org/apache/batik/svggen/rendering ContextDrawImage.png DrawImage.png
Date Fri, 02 Nov 2001 16:57:48 GMT
vhardy      01/11/02 04:58:32

  Modified:    sources/org/apache/batik/svggen
                        AbstractImageHandlerEncoder.java
                        CachedImageHandler.java
                        CachedImageHandlerBase64Encoder.java
                        CachedImageHandlerJPEGEncoder.java
                        CachedImageHandlerPNGEncoder.java
                        DOMTreeManager.java DefaultImageHandler.java
                        ImageCacher.java ImageHandlerBase64Encoder.java
                        ImageHandlerJPEGEncoder.java
                        ImageHandlerPNGEncoder.java
                        SVGGeneratorContext.java SVGGraphics2D.java
                        SVGTexturePaint.java
               test-sources/org/apache/batik/svggen
GeneratorContext.java
                        JPainterCompare.java
               test-references/org/apache/batik/svggen Clip.svg
                        ContextClip.svg ContextDrawImage.svg
                        ContextGraphicObjects.svg ContextLookup.svg
                        ContextPaints.svg ContextRHints.svg
                        ContextRescale.svg ContextTexture.svg
DrawImage.svg
                        GraphicObjects.svg Lookup.svg Paints.svg
RHints.svg
                        Rescale.svg Texture.svg
               test-references/org/apache/batik/svggen/rendering
                        ContextDrawImage.png DrawImage.png
  Added:       sources/org/apache/batik/svggen
                        DefaultCachedImageHandler.java
                        GenericImageHandler.java SimpleImageHandler.java
  Removed:     sources/org/apache/batik/svggen
                        CachedImageSVGGraphics2D.java
  Log:
  Unified ImageHandler interfaces so that previous interface and new
  caching strategies follow the same interface.
  Details:
  
  a. Added notion of GenericImageHandler for allowing caching or not of
     images.
  b. Added SimpleImageHandler implementation which bridges the new
     GenericImageHandler interface and the previous ImageHandler
interface.
  c. Restructured the CachedImageHandler hierarchy so that it is
separate from
     the previous ImageHandler hierarchy.
  d. Modified SVGTexturePaint so that it uses the ImageHandler.
  e. Fixed issue on preserveAspectRatio on generated <image> elements.
  f. Modified GeneratorContext test and updated reference images so that
     custom context test uses embeded cached images (i.e., it uses the
     CachedImageHandlerBase64Encoder.
  g. Made sure that image handlers use buildBufferedImage and
createGraphics(buf)
     instead of direct BufferedImage construction and BI.createGraphics
calls.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Mime
View raw message