|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.freehep.graphicsio.emf.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()
the description of the enhanced metafile's contents |
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. bOpenGL is a simple Boolean flag that you can use to determine whether an enhanced metafile requires OpenGL handling. |
int |
size()
size of emf file in bytes ? |
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
IOExceptionpublic int size()
public String toString()
public Rectangle getBounds()
public Rectangle getFrame()
public String getSignature()
public String getDescription()
public Dimension getDevice()
public Dimension getMillimeters()
public Dimension getMicrometers()
public boolean isOpenGL()
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||