This function copies a rectangle of width and height with upper left corner at coordinates (srcx,srcy) on the source drawable, srcid, to the coordinates (x,y) on the destination drawable id.
Type | Name | Description |
---|---|---|
GR_DRAW_ID | id | The ID of the destination drawable. |
GR_GC_ID | gc | The ID of the graphics context to use when copying the area. |
GR_COORD | x | The X coordinate of the area, relative to the destination drawable. |
GR_COORD | y | The Y coordinate of the area, relative to the destination drawable. |
GR_SIZE | width | The width of the area. |
GR_SIZE | height | The height of the area. |
GR_DRAW_ID | srcid | The ID of the source drawable. |
GR_COORD | srcx | The X coordinate of the area, relative to the source drawable. |
GR_COORD | srcy | The Y coordinate of the area, relative to the source drawable. |
int | op | The ROP code for the bit blitter to use when making the copy. In most cases MWROP_SRCCOPY is a good choice. You can use the ROP codes shown below. |