|
Vector Graphics, 2.4 | ||||||||
| 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 | |
|---|---|
static Dimension |
screenMM
|
| 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 |
| Field Detail |
|---|
public static final Dimension screenMM
| 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()
toString in class Objectpublic Rectangle getBounds()
public Rectangle getFrame()
public String getSignature()
public String getDescription()
public Dimension getDevice()
public Dimension getMillimeters()
public Dimension getMicrometers()
public boolean isOpenGL()
|
Vector Graphics, 2.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||