/[classpath]/classpath/java/awt/image/VolatileImage.java
ViewVC logotype

Diff of /classpath/java/awt/image/VolatileImage.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by fitzsim, Wed May 4 03:48:04 2005 UTC revision 1.4 by fitzsim, Wed May 4 18:28:50 2005 UTC
# Line 1  Line 1 
1  /* VolatileImage.java -- a hardware-accelerated image buffer  /* VolatileImage.java -- a hardware-accelerated image buffer
2     Copyright (C) 2002, 2005 Free Software Foundation, Inc.     Copyright (C) 2002, 2005 Free Software Foundation, Inc.
3    
4     This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
6     GNU Classpath is free software; you can redistribute it and/or modify  GNU Classpath is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by  it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2, or (at your option)  the Free Software Foundation; either version 2, or (at your option)
9     any later version.  any later version.
10    
11     GNU Classpath is distributed in the hope that it will be useful, but  GNU Classpath is distributed in the hope that it will be useful, but
12     WITHOUT ANY WARRANTY; without even the implied warranty of  WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14     General Public License for more details.  General Public License for more details.
15    
16     You should have received a copy of the GNU General Public License  You should have received a copy of the GNU General Public License
17     along with GNU Classpath; see the file COPYING.  If not, write to the  along with GNU Classpath; see the file COPYING.  If not, write to the
18     Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19     02111-1307 USA.  02111-1307 USA.
20    
21     Linking this library statically or dynamically with other modules is  Linking this library statically or dynamically with other modules is
22     making a combined work based on this library.  Thus, the terms and  making a combined work based on this library.  Thus, the terms and
23     conditions of the GNU General Public License cover the whole  conditions of the GNU General Public License cover the whole
24     combination.  combination.
25    
26     As a special exception, the copyright holders of this library give you  As a special exception, the copyright holders of this library give you
27     permission to link this library with independent modules to produce an  permission to link this library with independent modules to produce an
28     executable, regardless of the license terms of these independent  executable, regardless of the license terms of these independent
29     modules, and to copy and distribute the resulting executable under  modules, and to copy and distribute the resulting executable under
30     terms of your choice, provided that you also meet, for each linked  terms of your choice, provided that you also meet, for each linked
31     independent module, the terms and conditions of the license of that  independent module, the terms and conditions of the license of that
32     module.  An independent module is a module which is not derived from  module.  An independent module is a module which is not derived from
33     or based on this library.  If you modify this library, you may extend  or based on this library.  If you modify this library, you may extend
34     this exception to your version of the library, but you are not  this exception to your version of the library, but you are not
35     obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
36     exception statement from your version. */  exception statement from your version. */
37    
38    
39  package java.awt.image;  package java.awt.image;
# Line 152  public abstract class VolatileImage exte Line 152  public abstract class VolatileImage exte
152     * VolatileImages are typically optimized for writing.     * VolatileImages are typically optimized for writing.
153     *     *
154     * @return an ImageProducer for a static BufferedImage snapshot of     * @return an ImageProducer for a static BufferedImage snapshot of
155     * this image buffer.     * this image buffer
156     */     */
157    public ImageProducer getSource()    public ImageProducer getSource()
158    {    {
# Line 245  public abstract class VolatileImage exte Line 245  public abstract class VolatileImage exte
245     * Returns the transparency type of this image.     * Returns the transparency type of this image.
246     *     *
247     * @return Transparency.OPAQUE, Transparency.BITMASK or     * @return Transparency.OPAQUE, Transparency.BITMASK or
248     * Transparency.TRANSLUCENT.     * Transparency.TRANSLUCENT
249     */     */
250    public int getTransparency()    public int getTransparency()
251    {    {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26