GC.drawImage
- void drawImage(Image image, int x, int y)
- void drawImage(Image image, int srcX, int srcY, int srcWidth, int srcHeight, int destX, int destY, int destWidth, int destHeight)
- void drawImage(Image srcImage, int srcX, int srcY, int srcWidth, int srcHeight, int destX, int destY, int destWidth, int destHeight, bool simple)
- void drawImage(Image srcImage, int srcX, int srcY, int srcWidth, int srcHeight, int destX, int destY, int destWidth, int destHeight, bool simple, int imgWidth, int imgHeight)
org eclipse swt graphics GC GC
aliasesconstructorsfunctionsstatic functionsstatic variablesvariables
Draws the given image in the receiver at the specified coordinates.
@param image the image to draw @param x the x coordinate of where to draw @param y the y coordinate of where to draw
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the image is null</li> <li>ERROR_INVALID_ARGUMENT - if the image has been disposed</li> <li>ERROR_INVALID_ARGUMENT - if the given coordinates are outside the bounds of the image</li> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul> @exception SWTError <ul> <li>ERROR_NO_HANDLES - if no handles are available to perform the operation</li> </ul>