org.apache.batik.transcoder.wmf.tosvg

Class WMFPainter

public class WMFPainter extends AbstractWMFPainter

Core class for rendering the WMF image. It is able to render a WMF file in a Graphics object.
Constructor Summary
WMFPainter(WMFRecordStore currentStore, float scale)
Basic constructor.
WMFPainter(WMFRecordStore currentStore, int xOffset, int yOffset, float scale)
Basic constructor.
Method Summary
WMFRecordStoregetRecordStore()
Returns the WMFRecordStore this WMFPainter renders
voidpaint(Graphics g)
Renders the WMF image(s).

Constructor Detail

WMFPainter

public WMFPainter(WMFRecordStore currentStore, float scale)
Basic constructor.

Parameters: currentStore where the WMF records are stored scale the scale of the image

WMFPainter

public WMFPainter(WMFRecordStore currentStore, int xOffset, int yOffset, float scale)
Basic constructor.

Parameters: scale the scale of the image currentStore where the WMF records are stored xOffset x value for offset yOffset y value for offset

Method Detail

getRecordStore

public WMFRecordStore getRecordStore()
Returns the WMFRecordStore this WMFPainter renders

paint

public void paint(Graphics g)
Renders the WMF image(s).
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.