org.apache.batik.transcoder.wmf.tosvg
Class WMFPainter

java.lang.Object
  |
  +--org.apache.batik.transcoder.wmf.tosvg.WMFPainter

public class WMFPainter
extends java.lang.Object

Core class for rendering the WMF image. It is able to render a WMF file in a Graphics object.


Field Summary
static int BRUSH
           
static int FONT
           
static int NULL_BRUSH
           
static int NULL_PEN
           
static int PALETTE
           
static int PEN
           
 
Constructor Summary
WMFPainter(RecordStore currentStore)
          Basic constructor, initializes the storage.
 
Method Summary
 RecordStore getRecordStore()
          Returns the RecordStore this WMFPainter renders
 void paint(java.awt.Graphics g)
          Renders the WMF image(s).
 void setRecordStore(RecordStore currentStore)
          Sets the RecordStore this WMFPainter should use to render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PEN

public static final int PEN

BRUSH

public static final int BRUSH

FONT

public static final int FONT

NULL_PEN

public static final int NULL_PEN

NULL_BRUSH

public static final int NULL_BRUSH

PALETTE

public static final int PALETTE
Constructor Detail

WMFPainter

public WMFPainter(RecordStore currentStore)
Basic constructor, initializes the storage.
Method Detail

paint

public void paint(java.awt.Graphics g)
Renders the WMF image(s).

setRecordStore

public void setRecordStore(RecordStore currentStore)
Sets the RecordStore this WMFPainter should use to render

getRecordStore

public RecordStore getRecordStore()
Returns the RecordStore this WMFPainter renders


Copyright © 2002 Apache Software Foundation. All Rights Reserved.