You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by vh...@apache.org on 2001/03/05 23:37:49 UTC

cvs commit: xml-batik/sources/org/apache/batik/gvt/renderer ImageRenderer.java

vhardy      01/03/05 14:37:49

  Added:       sources/org/apache/batik/gvt/renderer ImageRenderer.java
  Log:
  Interface for raster-based renderers.
  
  Revision  Changes    Path
  1.1                  xml-batik/sources/org/apache/batik/gvt/renderer/ImageRenderer.java
  
  Index: ImageRenderer.java
  ===================================================================
  /*****************************************************************************
   * Copyright (C) The Apache Software Foundation. All rights reserved.        *
   * ------------------------------------------------------------------------- *
   * This software is published under the terms of the Apache Software License *
   * version 1.1, a copy of which has been included with this distribution in  *
   * the LICENSE file.                                                         *
   *****************************************************************************/
  
  package org.apache.batik.gvt.renderer;
  
  import java.awt.image.BufferedImage;
  
  /**
   * Interface for GVT Renderers that render into raster images.
   *
   * @author <a href="mailto:vincent.hardy@eng.sun.com">Vincent Hardy</a>
   * @version $Id: ImageRenderer.java,v 1.1 2001/03/05 22:37:49 vhardy Exp $
   */
  public interface ImageRenderer extends Renderer{
      /**
       * Update the required size of the offscreen buffer.
       */
      public void updateOffScreen(int width, int height);
  
      /**
       * Get the Current offscreen buffer used for rendering
       */
      public BufferedImage getOffScreen();
  
      /**
       * Tells renderer to clear current contents of offscreen buffer
       */
      public void clearOffScreen();
  
  }