|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freehep.graphicsio.emf.EMFHeader
public class EMFHeader
EMF File Header.
Field Summary |
---|
Constructor Summary | |
---|---|
EMFHeader(Rectangle bounds,
int versionMajor,
int versionMinor,
int bytes,
int records,
int handles,
String application,
String name,
Dimension device)
|
Method Summary | |
---|---|
Rectangle |
getBounds()
Specifies the dimensions, in device units, of the smallest rectangle that can be drawn around the picture stored in the metafile. |
String |
getDescription()
|
Dimension |
getDevice()
Specifies the resolution of the reference device, in pixels. |
Rectangle |
getFrame()
Specifies the dimensions, in .01 millimeter units, of a rectangle that surrounds the picture stored in the metafile. |
Dimension |
getMicrometers()
Windows 98/Me, Windows 2000/XP: Size of the reference device in micrometers. |
Dimension |
getMillimeters()
Specifies the resolution of the reference device, in millimeters. |
String |
getSignature()
Specifies a double word signature. |
boolean |
isOpenGL()
Windows 95/98/Me, Windows NT 4.0 and later: Specifies whether any OpenGL records are present in a metafile. |
int |
size()
|
String |
toString()
|
void |
write(EMFOutputStream emf)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EMFHeader(Rectangle bounds, int versionMajor, int versionMinor, int bytes, int records, int handles, String application, String name, Dimension device)
Method Detail |
---|
public void write(EMFOutputStream emf) throws IOException
IOException
public int size()
public String toString()
toString
in class Object
public Rectangle getBounds()
public Rectangle getFrame()
public String getSignature()
public String getDescription()
public Dimension getDevice()
public Dimension getMillimeters()
public Dimension getMicrometers()
public boolean isOpenGL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |