Class WMFPainter
java.lang.Object
io.sf.carte.echosvg.transcoder.wmf.tosvg.AbstractWMFPainter
io.sf.carte.echosvg.transcoder.wmf.tosvg.WMFPainter
Core class for rendering the WMF image. It is able to render a WMF file in a
Graphics
object.-
Field Summary
Fields inherited from class io.sf.carte.echosvg.transcoder.wmf.tosvg.AbstractWMFPainter
bReadingWMF, BRUSH, currentHorizAlign, currentStore, currentVertAlign, FONT, NULL_BRUSH, NULL_PEN, OBJ_BITMAP, OBJ_REGION, PALETTE, PEN, WMF_FILE_EXTENSION, wmfFont
-
Constructor Summary
ConstructorsConstructorDescriptionWMFPainter
(WMFRecordStore currentStore, float scale) Basic constructor.WMFPainter
(WMFRecordStore currentStore, int xOffset, int yOffset, float scale) Basic constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the WMFRecordStore this WMFPainter rendersvoid
Renders the WMF image(s).Methods inherited from class io.sf.carte.echosvg.transcoder.wmf.tosvg.AbstractWMFPainter
addObject, addObjectAt, getAttributedString, getCharacterIterator, getCharacterIterator, getImage, getImage, getImageDimension, setRecordStore
-
Constructor Details
-
WMFPainter
Basic constructor.- Parameters:
currentStore
- where the WMF records are storedscale
- the scale of the image
-
WMFPainter
Basic constructor.- Parameters:
currentStore
- where the WMF records are storedxOffset
- x value for offsetyOffset
- y value for offsetscale
- the scale of the image
-
-
Method Details
-
paint
Renders the WMF image(s). -
getRecordStore
Returns the WMFRecordStore this WMFPainter renders- Overrides:
getRecordStore
in classAbstractWMFPainter
-