FreeHEP API
Version v1.2

org.freehep.graphicsio.emf
Class ScaleViewportExtEx

java.lang.Object
  |
  +--org.freehep.util.io.Tag
        |
        +--org.freehep.graphicsio.emf.EMFTag
              |
              +--org.freehep.graphicsio.emf.ScaleViewportExtEx

public class ScaleViewportExtEx
extends EMFTag

ScaleViewportExtEx TAG.

Version:
$Id: ScaleViewportExtEx.java,v 1.1 2002/02/27 22:05:05 duns Exp $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from class org.freehep.util.io.Tag
DEFAULT_TAG
 
Constructor Summary
ScaleViewportExtEx(int xNum, int xDenom, int yNum, int yDenom)
           
 
Method Summary
 EMFTag read(int tagID, EMFInputStream emf, int len)
           
 String toString()
           
 void write(int tagID, EMFOutputStream emf)
          Writes the extra tag information to the outputstream in binary format.
 
Methods inherited from class org.freehep.graphicsio.emf.EMFTag
read, write
 
Methods inherited from class org.freehep.util.io.Tag
getName, getTag, getTagType, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScaleViewportExtEx

public ScaleViewportExtEx(int xNum,
                          int xDenom,
                          int yNum,
                          int yDenom)
Method Detail

read

public EMFTag read(int tagID,
                   EMFInputStream emf,
                   int len)
            throws IOException
Specified by:
read in class EMFTag
IOException

write

public void write(int tagID,
                  EMFOutputStream emf)
           throws IOException
Description copied from class: EMFTag
Writes the extra tag information to the outputstream in binary format. This implementation writes nothing, but concrete tags may override this method. This method is called just after the TagHeader is written.

Overrides:
write in class EMFTag
Parameters:
tagID - id of the tag
emf - Binary CGM output stream
IOException

toString

public String toString()
Overrides:
toString in class EMFTag
Returns:
a description of the tagName and tagID

FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.