1
2 package org.freehep.graphicsio.emf.gdi;
3
4 import java.io.IOException;
5
6 import org.freehep.graphicsio.emf.EMFInputStream;
7 import org.freehep.graphicsio.emf.EMFOutputStream;
8
9
10
11
12
13
14
15 public class BitmapInfo {
16
17 private BitmapInfoHeader header;
18
19 public BitmapInfo(BitmapInfoHeader header) {
20 this.header = header;
21 }
22
23 public BitmapInfo(EMFInputStream emf) throws IOException {
24 header = new BitmapInfoHeader(emf);
25
26 }
27
28 public void write(EMFOutputStream emf) throws IOException {
29 header.write(emf);
30
31 }
32
33 public String toString() {
34 return " BitmapInfo\n" + header.toString();
35 }
36
37 public BitmapInfoHeader getHeader() {
38 return header;
39 }
40 }