@@ -1,12 +1,10 @@
// Copyright 2006, FreeHEP.
package org.freehep.graphicsio.emf.gdiplus;
-import java.awt.Color
import java.io.IOException;
import org.freehep.graphicsio.emf.EMFInputStream;
import org.freehep.graphicsio.emf.EMFOutputStream;
-import org.freehep.graphicsio.emf.EMFTag;
/**
* The DrawPath metafile record represents a call to Graphics.DrawPath,
@@ -29,7 +27,6 @@
this.penIndex = penIndex;
}
- @Override
public EMFPlusTag read(int tagID, int flags, EMFInputStream emf, int len)
throws IOException {
DrawPath tag = new DrawPath();
@@ -38,8 +35,11 @@
return tag;
}
- @Override
- public void write(int tagID, EMFOutputStream emf) throws IOException {
+ public void write(int tagID, int flags, EMFOutputStream emf) throws IOException {
emf.writeUINT(penIndex);
}
+
+ public String toString() {
+ return super.toString() + "\n penIndex: "+penIndex;
+ }
}
|