| sun.awt.image.ImageRepresentation sun.awt.qt.QtImageRepresentation
QtImageRepresentation | class QtImageRepresentation extends ImageRepresentation (Code) | | Defines the representation used to store images in Qt. The image is stored as a Qt pixmap
(server side image).
|
Method Summary | |
native protected int | createScaledQPixmap(int w, int h) | protected void | disposeImage() | native protected void | disposeImageNative() | native protected void | disposePixmapEntry(int pm) | native protected void | drawQPixmap(Graphics g, int pm, int x, int y, Color c) | native protected boolean | finish(boolean force) | native int | getRGB(ColorModel cm, int x, int y) | native void | getRGBs(ColorModel cm, int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize) | native int | getType() | native protected synchronized void | imageDraw(Graphics g, int x, int y, Color c) | native synchronized boolean | imageDrawDirect(int gpointer, int x, int y, Color c) | protected synchronized void | imageScale(Graphics g, int x, int y, int w, int h, Color c, boolean done) | native protected synchronized void | imageStretch(Graphics g, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color c) | native protected void | offscreenInit(Color bg) | native protected boolean | setBytePixels(int x, int y, int w, int h, ColorModel model, byte pix, int off, int scansize) | native protected boolean | setIntPixels(int x, int y, int w, int h, ColorModel model, int pix, int off, int scansize) | native protected void | setNativeImage(int qimage) Sets the native image representation (QImage). |
drawSucceeded | boolean drawSucceeded(Code) | | |
finishCalled | boolean finishCalled(Code) | | |
createScaledQPixmap | native protected int createScaledQPixmap(int w, int h)(Code) | | |
disposeImage | protected void disposeImage()(Code) | | |
disposeImageNative | native protected void disposeImageNative()(Code) | | |
disposePixmapEntry | native protected void disposePixmapEntry(int pm)(Code) | | |
finish | native protected boolean finish(boolean force)(Code) | | |
getRGBs | native void getRGBs(ColorModel cm, int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)(Code) | | |
getType | native int getType()(Code) | | |
imageDrawDirect | native synchronized boolean imageDrawDirect(int gpointer, int x, int y, Color c)(Code) | | |
imageScale | protected synchronized void imageScale(Graphics g, int x, int y, int w, int h, Color c, boolean done)(Code) | | |
imageStretch | native protected synchronized void imageStretch(Graphics g, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color c)(Code) | | |
offscreenInit | native protected void offscreenInit(Color bg)(Code) | | |
setBytePixels | native protected boolean setBytePixels(int x, int y, int w, int h, ColorModel model, byte pix, int off, int scansize)(Code) | | |
setIntPixels | native protected boolean setIntPixels(int x, int y, int w, int h, ColorModel model, int pix, int off, int scansize)(Code) | | |
setNativeImage | native protected void setNativeImage(int qimage)(Code) | | Sets the native image representation (QImage). The implementation
must make a copy (shallow or deep) of the image passed.
Parameters: qimage - contains a pointer to QImage. |
Methods inherited from sun.awt.image.ImageRepresentation | public int check(ImageObserver iw)(Code)(Java Doc) abstract protected void disposeImage()(Code)(Java Doc) public void doFinalization()(Code)(Java Doc) public boolean drawImage(Graphics g, int x, int y, Color c, ImageObserver iw)(Code)(Java Doc) public boolean drawScaledImage(Graphics g, int x, int y, int w, int h, Color c, ImageObserver iw)(Code)(Java Doc) public boolean drawStretchImage(Graphics g, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color c, ImageObserver iw)(Code)(Java Doc) public void finalize()(Code)(Java Doc) abstract protected boolean finish(boolean force)(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public AWTFinalizeable getNextFinalizeable()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public void imageComplete(int status)(Code)(Java Doc) abstract protected void imageDraw(Graphics g, int x, int y, Color c)(Code)(Java Doc) protected void imageScale(Graphics g, int x, int y, int w, int h, Color c, boolean done)(Code)(Java Doc) abstract protected void imageStretch(Graphics g, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color c)(Code)(Java Doc) abstract protected void offscreenInit(Color bg)(Code)(Java Doc) public boolean prepare(ImageObserver iw)(Code)(Java Doc) public synchronized void reconstruct(int flags)(Code)(Java Doc) public synchronized void removeWatcher(ImageObserver iw)(Code)(Java Doc) abstract protected boolean setBytePixels(int x, int y, int w, int h, ColorModel model, byte pix, int off, int scansize)(Code)(Java Doc) public void setColorModel(ColorModel model)(Code)(Java Doc) public void setDimensions(int w, int h)(Code)(Java Doc) public void setHints(int h)(Code)(Java Doc) abstract protected boolean setIntPixels(int x, int y, int w, int h, ColorModel model, int pix, int off, int scansize)(Code)(Java Doc) public void setNextFinalizeable(AWTFinalizeable o)(Code)(Java Doc) public void setPixels(int x, int y, int w, int h, ColorModel model, byte pix, int off, int scansize)(Code)(Java Doc) public void setPixels(int x, int y, int w, int h, ColorModel model, int pix, int off, int scansize)(Code)(Java Doc) public void setProperties(Hashtable props)(Code)(Java Doc)
|
|
|