public static class HemfWindowing.EmfScaleViewportExtEx extends HwmfWindowing.WmfScaleViewportExt implements HemfRecord
scale
Constructor and Description |
---|
EmfScaleViewportExtEx() |
Modifier and Type | Method and Description |
---|---|
void |
calcBounds(java.awt.geom.Rectangle2D window,
java.awt.geom.Rectangle2D viewport,
HemfGraphics.EmfRenderState[] renderState) |
HemfRecordType |
getEmfRecordType() |
HemfRecordType |
getGenericRecordType() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
draw, getGenericProperties, getScale, getWmfRecordType, init, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
draw, setHeader
getGenericChildren, getGenericProperties
public HemfRecordType getEmfRecordType()
getEmfRecordType
in interface HemfRecord
public long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecord
init
in interface HemfRecord
leis
- the little endian input streamrecordSize
- the size limit for this recordrecordId
- the id of the HemfRecordType
java.io.IOException
- when the inputstream is malformedpublic HemfRecordType getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in interface HemfRecord
getGenericRecordType
in interface HwmfRecord
public void calcBounds(java.awt.geom.Rectangle2D window, java.awt.geom.Rectangle2D viewport, HemfGraphics.EmfRenderState[] renderState)
calcBounds
in interface HemfRecord
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.