sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 10305 - svn://svn.freehep.org/svn / freehep / branches / vectorgraphics-emfplus / freehep-graphicsio / src / main / java / org / freehep / graphicsio / ImageGraphics2D.java
Unified Diff View - ImageGraphics2D.java
Search for Help
/freehep/branches/vectorgraphics-emfplus/freehep-graphicsio/src/main/java/org/freehep/graphicsio/ImageGraphics2D.java @ revision 10304
/freehep/branches/vectorgraphics-emfplus/freehep-graphicsio/src/main/java/org/freehep/graphicsio/ImageGraphics2D.java @ revision 10305
@@ -8,6 +8,7 @@ import java.awt.GraphicsConfiguration; import java.awt.Image; import java.awt.RenderingHints; +import java.awt.font.FontRenderContext; import java.awt.image.BufferedImage; import java.awt.image.RenderedImage; import java.io.File; @@ -42,7 +43,7 @@  * Generic class for generating bitmap outputs from an image.  *  * @author Mark Donszelmann - * @version $Id: ImageGraphics2D.java 10110 2006-12-03 16:40:02Z duns $ + * @version $Id: ImageGraphics2D.java 10305 2007-01-12 23:43:03Z duns $  */ public class ImageGraphics2D extends PixelGraphics2D { @@ -80,6 +81,13 @@     private static final Map /* UserProperties */defaultProperties = new HashMap(); +    public FontRenderContext getFontRenderContext() { +        // TODO Auto-generated method stub +        FontRenderContext f = super.getFontRenderContext(); +        System.err.println("FRC: "+f.getTransform()); +        return f; +    } +     public static Properties getDefaultProperties(String format) {         UserProperties properties = (UserProperties) defaultProperties                 .get(format);


feed icon

sventon 2.5.1