// Copyright 2001, FreeHEP. package org.freehep.graphicsio.cgm; import java.io.IOException; /** * VDCRealPrecision TAG. * * @author Mark Donszelmann * @author Charles Loomis * @version $Id: freehep-graphicsio-cgm/src/main/java/org/freehep/graphicsio/cgm/VDCRealPrecision.java 278fac7cefaa 2005/12/05 04:00:43 duns $ */ public class VDCRealPrecision extends CGMTag { // FIXME: not complete public VDCRealPrecision() { super(3, 2, 1); } public void write(int tagID, CGMOutputStream cgm) throws IOException { cgm.setVDCRealPrecision(false, true); cgm.writeEnumerate(0); // floating cgm.writeInteger(12); // double exp cgm.writeInteger(52); // double fract } public void write(int tagID, CGMWriter cgm) throws IOException { cgm.setVDCRealPrecision(false, true); cgm.print("VDCREALPREC "); cgm.writeReal(Double.MIN_VALUE); cgm.print(", "); cgm.writeReal(Double.MAX_VALUE); cgm.print(", "); cgm.writeInteger(20); // FIXME } }