public class EMFOutputStream
extends org.freehep.util.io.TaggedOutputStream
out| Constructor and Description | 
|---|
| EMFOutputStream(OutputStream os,
               Rectangle imageBounds,
               EMFHandleManager handles,
               String application,
               String name,
               Dimension device) | 
| EMFOutputStream(OutputStream os,
               Rectangle imageBounds,
               EMFHandleManager handles,
               String application,
               String name,
               Dimension device,
               int version) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| protected int | getTagAlignment() | 
| int | getVersion() | 
| protected void | writeActionHeader(org.freehep.util.io.ActionHeader header) | 
| void | writeBYTE(boolean b) | 
| void | writeBYTE(byte b) | 
| void | writeBYTE(byte[] b) | 
| void | writeBYTE(int b) | 
| void | writeCOLOR16(Color c) | 
| void | writeCOLORREF(Color c) | 
| void | writeDWORD(boolean b) | 
| void | writeDWORD(int i) | 
| void | writeDWORD(int[] w) | 
| void | writeFLOAT(float f) | 
| void | writeHeader(EMFHeader header) | 
| void | writeLONG(int i) | 
| void | writePOINTL(int n,
           Point[] p) | 
| void | writePOINTL(Point p) | 
| void | writePOINTL(Point[] p) | 
| void | writePOINTS(int n,
           Point[] p) | 
| void | writePOINTS(Point p) | 
| void | writePOINTS(Point[] p) | 
| void | writeRECTL(Rectangle r) | 
| void | writeSHORT(short i) | 
| void | writeSIZEL(Dimension d) | 
| void | writeTag(org.freehep.util.io.Tag tag) | 
| protected void | writeTagHeader(org.freehep.util.io.TagHeader header) | 
| void | writeUINT(int i) | 
| void | writeULONG(int i) | 
| void | writeWCHAR(String s) | 
| void | writeWCHAR(String s,
          int size) | 
| void | writeWORD(boolean b) | 
| void | writeWORD(int s) | 
| void | writeXFORM(AffineTransform t) | 
append, getBufferLength, getLength, popBuffer, popBufferBytes, pushBuffer, writeByteArray, writeSingleBytesize, writeAsciiZString, writeBoolean, writeByte, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeInt, writeLong, writeShort, writeShort, writeString, writeUnsignedByte, writeUnsignedByte, writeUnsignedInt, writeUnsignedInt, writeUnsignedShort, writeUnsignedShort, writeUTF, writeUTFbyteAlign, finish, flushByte, minBits, minBits, minBits, writeBitFlag, writeFBits, writeSBits, writeUBitsstartCompressing, write, writeflush, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrite, write, writepublic EMFOutputStream(OutputStream os, Rectangle imageBounds, EMFHandleManager handles, String application, String name, Dimension device, int version) throws IOException
IOExceptionpublic EMFOutputStream(OutputStream os, Rectangle imageBounds, EMFHandleManager handles, String application, String name, Dimension device) throws IOException
IOExceptionpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.freehep.util.io.TaggedOutputclose in class org.freehep.util.io.ByteCountOutputStreamIOExceptionpublic void writeDWORD(int i)
                throws IOException
IOExceptionpublic void writeDWORD(int[] w)
                throws IOException
IOExceptionpublic void writeWORD(int s)
               throws IOException
IOExceptionpublic void writeFLOAT(float f)
                throws IOException
IOExceptionpublic void writeCOLORREF(Color c) throws IOException
IOExceptionpublic void writeCOLOR16(Color c) throws IOException
IOExceptionpublic void writeXFORM(AffineTransform t) throws IOException
IOExceptionpublic void writePOINTS(Point[] p) throws IOException
IOExceptionpublic void writePOINTS(int n,
               Point[] p)
                 throws IOException
IOExceptionpublic void writePOINTS(Point p) throws IOException
IOExceptionpublic void writePOINTL(Point[] p) throws IOException
IOExceptionpublic void writePOINTL(int n,
               Point[] p)
                 throws IOException
IOExceptionpublic void writePOINTL(Point p) throws IOException
IOExceptionpublic void writeRECTL(Rectangle r) throws IOException
IOExceptionpublic void writeSIZEL(Dimension d) throws IOException
IOExceptionpublic void writeUINT(int i)
               throws IOException
IOExceptionpublic void writeULONG(int i)
                throws IOException
IOExceptionpublic void writeLONG(int i)
               throws IOException
IOExceptionpublic void writeSHORT(short i)
                throws IOException
IOExceptionpublic void writeBYTE(byte[] b)
               throws IOException
IOExceptionpublic void writeBYTE(byte b)
               throws IOException
IOExceptionpublic void writeBYTE(int b)
               throws IOException
IOExceptionpublic void writeBYTE(boolean b)
               throws IOException
IOExceptionpublic void writeWORD(boolean b)
               throws IOException
IOExceptionpublic void writeDWORD(boolean b)
                throws IOException
IOExceptionpublic void writeWCHAR(String s) throws IOException
IOExceptionpublic void writeWCHAR(String s, int size) throws IOException
IOExceptionprotected int getTagAlignment()
getTagAlignment in class org.freehep.util.io.TaggedOutputStreamprotected void writeTagHeader(org.freehep.util.io.TagHeader header)
                       throws IOException
writeTagHeader in class org.freehep.util.io.TaggedOutputStreamIOExceptionpublic void writeTag(org.freehep.util.io.Tag tag)
              throws IOException
writeTag in interface org.freehep.util.io.TaggedOutputwriteTag in class org.freehep.util.io.TaggedOutputStreamIOExceptionprotected void writeActionHeader(org.freehep.util.io.ActionHeader header)
                          throws IOException
writeActionHeader in class org.freehep.util.io.TaggedOutputStreamIOExceptionpublic void writeHeader(EMFHeader header) throws IOException
IOExceptionpublic int getVersion()
Copyright © 2014. All rights reserved.