|
java-gnome version 4.0.19 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.freedesktop.bindings.Pointer
org.freedesktop.bindings.Proxy
org.gnome.glib.Object
org.gnome.gdk.Drawable
org.gnome.gdk.Pixmap
public class Pixmap
An image as stored in the X server's memory.
This class is easily confused with Pixbuf
, which is what you are
probably looking for. Pixbuf is used for representing images on the client
side in your application. Loading images and passing them for use in
Widgets such as Image and MenuItem is done there. Pixmap, on the other
hand, is a wrapper around a resource in the X server.
You should not generally need to use this class. When we do draw Widgets
with Cairo, we do so directly to a Window in the X server which it then
manages for getting on screen. If you really are looking to work directly
with a Pixmap, then see also XlibSurface
, which ultimately is how we get data into Drawables, though
there too we don't work with them directly but rather let Cairo and GDK do
the heavy lifting.
Constructor Summary | |
---|---|
Pixmap(Drawable example,
int width,
int height)
Create a Pixmap with qualities matching that of an existing Drawable. |
|
Pixmap(int width,
int height,
int depth)
Create a new Pixmap with a given pixel depth. |
Method Summary |
---|
Methods inherited from class org.gnome.gdk.Drawable |
---|
getDepth, getHeight, getWidth |
Methods inherited from class org.freedesktop.bindings.Pointer |
---|
toString |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Pixmap(Drawable example, int width, int height)
public Pixmap(int width, int height, int depth)
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |