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, writeSingleByte
size, writeAsciiZString, writeBoolean, writeByte, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeInt, writeLong, writeShort, writeShort, writeString, writeUnsignedByte, writeUnsignedByte, writeUnsignedInt, writeUnsignedInt, writeUnsignedShort, writeUnsignedShort, writeUTF, writeUTF
byteAlign, finish, flushByte, minBits, minBits, minBits, writeBitFlag, writeFBits, writeSBits, writeUBits
startCompressing, write, write
flush, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write, write, write
public EMFOutputStream(OutputStream os, Rectangle imageBounds, EMFHandleManager handles, String application, String name, Dimension device, int version) throws IOException
IOException
public EMFOutputStream(OutputStream os, Rectangle imageBounds, EMFHandleManager handles, String application, String name, Dimension device) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.freehep.util.io.TaggedOutput
close
in class org.freehep.util.io.ByteCountOutputStream
IOException
public void writeDWORD(int i) throws IOException
IOException
public void writeDWORD(int[] w) throws IOException
IOException
public void writeWORD(int s) throws IOException
IOException
public void writeFLOAT(float f) throws IOException
IOException
public void writeCOLORREF(Color c) throws IOException
IOException
public void writeCOLOR16(Color c) throws IOException
IOException
public void writeXFORM(AffineTransform t) throws IOException
IOException
public void writePOINTS(Point[] p) throws IOException
IOException
public void writePOINTS(int n, Point[] p) throws IOException
IOException
public void writePOINTS(Point p) throws IOException
IOException
public void writePOINTL(Point[] p) throws IOException
IOException
public void writePOINTL(int n, Point[] p) throws IOException
IOException
public void writePOINTL(Point p) throws IOException
IOException
public void writeRECTL(Rectangle r) throws IOException
IOException
public void writeSIZEL(Dimension d) throws IOException
IOException
public void writeUINT(int i) throws IOException
IOException
public void writeULONG(int i) throws IOException
IOException
public void writeLONG(int i) throws IOException
IOException
public void writeSHORT(short i) throws IOException
IOException
public void writeBYTE(byte[] b) throws IOException
IOException
public void writeBYTE(byte b) throws IOException
IOException
public void writeBYTE(int b) throws IOException
IOException
public void writeBYTE(boolean b) throws IOException
IOException
public void writeWORD(boolean b) throws IOException
IOException
public void writeDWORD(boolean b) throws IOException
IOException
public void writeWCHAR(String s) throws IOException
IOException
public void writeWCHAR(String s, int size) throws IOException
IOException
protected int getTagAlignment()
getTagAlignment
in class org.freehep.util.io.TaggedOutputStream
protected void writeTagHeader(org.freehep.util.io.TagHeader header) throws IOException
writeTagHeader
in class org.freehep.util.io.TaggedOutputStream
IOException
public void writeTag(org.freehep.util.io.Tag tag) throws IOException
writeTag
in interface org.freehep.util.io.TaggedOutput
writeTag
in class org.freehep.util.io.TaggedOutputStream
IOException
protected void writeActionHeader(org.freehep.util.io.ActionHeader header) throws IOException
writeActionHeader
in class org.freehep.util.io.TaggedOutputStream
IOException
public void writeHeader(EMFHeader header) throws IOException
IOException
public int getVersion()
Copyright © 2014. All rights reserved.