sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 10305 - svn://svn.freehep.org/svn / freehep / branches / vectorgraphics-emfplus / freehep-graphicsio-emf / src / main / java / org / freehep / graphicsio / emf / gdiplus / DrawPath.java
Unified Diff View - DrawPath.java
Search for Help
/freehep/branches/vectorgraphics-emfplus/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/gdiplus/DrawPath.java @ revision 10304
/freehep/branches/vectorgraphics-emfplus/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/gdiplus/DrawPath.java @ revision 10305
@@ -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; +    } }


feed icon

sventon 2.5.1