This function draws the image specified by imageid on to the drawable id. The image is drawn to location (x,y) on the drawable and the image is stretched to width and height pixels as it is drawn.
Type | Name | Description |
---|---|---|
GR_DRAW_ID | id | The ID of the drawable to draw the image onto. |
GR_GC_ID | gc | The ID of the graphics context to use when drawing the image. |
GR_COORD | x | The X coordinate to draw the image at, relative to the drawable. |
GR_COORD | y | The Y coordinate to draw the image at, relative to the drawable. |
GR_SIZE | width | The width to scale the image to. |
GR_SIZE | height | The height to scale the image to. |
GR_IMAGE_ID | imageid | The ID of the image to draw. |