| java.lang.Object java.awt.Image java.awt.QtImage
All known Subclasses: java.awt.QtSubimage, java.awt.QtOffscreenImage,
Constructor Summary | |
| QtImage(int width, int height, QtGraphicsConfiguration gc) Creates an offscreen image of the specified width and height. | | QtImage(ImageProducer imageProd) Creates an image from the supplied image producer. | | QtImage(ImageProducer imageProd, boolean isEmpty) | | QtImage(QtImage image) Creates a new QtImage from an existing one.
This constructor only exists for QtSubImage class and should not be used for any other purpose. |
Method Summary | |
synchronized void | addObserver(ImageObserver observer) | protected void | dispose() | void | drawImage(int psd, int x, int y, Color bg) | void | drawImage(int psd, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bg) | protected void | finalize() | public synchronized void | flush() | public ColorModel | getColorModel() | public Graphics | getGraphics() | public int | getHeight() | public int | getHeight(ImageObserver observer) | public Object | getProperty(String name) | public Object | getProperty(String name, ImageObserver observer) | public String[] | getPropertyNames() | public int | getRGB(int x, int y) | public int[] | getRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize) | public ImageProducer | getSource() | int | getStatus(ImageObserver observer) | public BufferedImage | getSubimage(int x, int y, int w, int h) | public int | getType() | public int | getWidth() | public int | getWidth(ImageObserver observer) | boolean | hasError() | public void | imageComplete(int stat) | boolean | isComplete() | native static void | pDrawImage(int psd, int psd_image, int x, int y, Color bg) | synchronized boolean | prepareImage(int width, int height, ImageObserver observer) | public void | setColorModel(ColorModel cm) | public synchronized void | setDimensions(int width, int height) | public void | setHints(int hints) | public void | setPixels(int x, int y, int w, int h, ColorModel cm, byte[] pixels, int off, int scansize) | public void | setPixels(int x, int y, int w, int h, ColorModel cm, int[] pixels, int off, int scansize) | public void | setProperties(Hashtable props) | public void | setRGB(int x, int y, int rgb) | public void | setRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize) | synchronized void | startProduction() | public String | toString() |
REDRAW_COUNT | final static int REDRAW_COUNT(Code) | | |
producer | ImageProducer producer(Code) | | The producer actually used and returned by getProducer. This may be a scaled
image producer if the image was prepared with a specified width and height
or it may be the original image producer if -1 was used for the width and height
to prepareImage.
|
psd | int psd(Code) | | Qt PSD for this image
|
widthheight | int widthheight(Code) | | |
QtImage | QtImage(int width, int height, QtGraphicsConfiguration gc)(Code) | | Creates an offscreen image of the specified width and height. This constructor exists
for the QtOffscreenImage class which is a sub class and should not be called directly.
|
QtImage | QtImage(ImageProducer imageProd)(Code) | | Creates an image from the supplied image producer.
|
QtImage | QtImage(QtImage image)(Code) | | Creates a new QtImage from an existing one.
This constructor only exists for QtSubImage class and should not be used for any other purpose.
|
dispose | protected void dispose()(Code) | | |
drawImage | void drawImage(int psd, int x, int y, Color bg)(Code) | | |
drawImage | void drawImage(int psd, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bg)(Code) | | |
flush | public synchronized void flush()(Code) | | |
getHeight | public int getHeight()(Code) | | |
getRGB | public int getRGB(int x, int y)(Code) | | |
getRGB | public int[] getRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)(Code) | | |
getType | public int getType()(Code) | | |
getWidth | public int getWidth()(Code) | | |
hasError | boolean hasError()(Code) | | |
imageComplete | public void imageComplete(int stat)(Code) | | |
isComplete | boolean isComplete()(Code) | | |
pDrawImage | native static void pDrawImage(int psd, int psd_image, int x, int y, Color bg)(Code) | | |
prepareImage | synchronized boolean prepareImage(int width, int height, ImageObserver observer)(Code) | | |
setDimensions | public synchronized void setDimensions(int width, int height)(Code) | | |
setHints | public void setHints(int hints)(Code) | | |
setPixels | public void setPixels(int x, int y, int w, int h, ColorModel cm, byte[] pixels, int off, int scansize)(Code) | | |
setPixels | public void setPixels(int x, int y, int w, int h, ColorModel cm, int[] pixels, int off, int scansize)(Code) | | |
setRGB | public void setRGB(int x, int y, int rgb)(Code) | | |
setRGB | public void setRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)(Code) | | |
startProduction | synchronized void startProduction()(Code) | | |
|
|