1 // Copyright 2002, FreeHEP. 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.EMFTag; 8 import org.freehep.graphicsio.emf.EMFRenderer; 9 10 /** 11 * SetMetaRgn TAG. 12 * 13 * @author Mark Donszelmann 14 * @version $Id: SetMetaRgn.java 10367 2007-01-22 19:26:48Z duns $ 15 */ 16 public class SetMetaRgn extends EMFTag { 17 18 public SetMetaRgn() { 19 super(28, 1); 20 } 21 22 public EMFTag read(int tagID, EMFInputStream emf, int len) 23 throws IOException { 24 25 return this; 26 } 27 28 /** 29 * displays the tag using the renderer 30 * 31 * @param renderer EMFRenderer storing the drawing session data 32 */ 33 public void render(EMFRenderer renderer) { 34 // The SetMetaRgn function intersects the current clipping region 35 // for the specified device context with the current metaregion and 36 // saves the combined region as the new metaregion for the specified 37 // device context. The clipping region is reset to a null region. 38 39 // TODO: what ist the current metaregion? 40 } 41 }