2003/09/19 05:26:47
[org.ibex.core.git] / src / org / xwt / Picture.java
1 // Copyright 2003 Adam Megacz, see the COPYING file for licensing [GPL]
2 package org.xwt;
3
4 /** 
5  *    <p>
6  *    The in-memory representation of a PNG or GIF image. It is
7  *    read-only. It is usually passed to PixelBuffer.drawPicture()
8  *    </p>
9  *
10  *    <p>
11  *    Implementations of the Platform class should return objects
12  *    supporting this interface from the createPicture() method. These
13  *    implementations may choose to implement caching strategies (for
14  *    example, using a Pixmap on X11).
15  *    </p>
16  */
17 public abstract class Picture {
18     public abstract int getHeight();
19     public abstract int getWidth();
20 }