INTEGER FUNCTION COPY_GRAPHICS_REGION@(
+ DEST_GR, DX, DY, DWIDTH, DHEIGHT,
+ SRC_GR, SX, SY, SWIDTH, SHEIGHT, COPY_MODE )
INTEGER DEST_GR, DX, DY, DWIDTH, DHEIGHT,
+ SRC_GR, SX, SY, SWIDTH, SHEIGHT, COPY_MODE
You must have at least one drawing surface open (see for example %`gr in
Graphics format). DEST_GR is the handle of the destination drawing
surface and SRC_GR is the source drawing surface, however, the
handles specified can be the same. If you set either or both to zero then the
current drawing surface is assumed for the source and/or destination.
DX, DY, DWIDTH and DHEIGHT specify the destination rectangular region.
SX, SY, SWIDTH and SHEIGHT specify the source rectangular region.
If DWIDTH = SWIDTH and DHEIGHT = SHEIGHT then a normal copy will occur. If there
are any differences then the image will be 'stretched' accordingly.
copy_mode defines the method of copying. Windows defines 255 different copy
methods (ROPS). The most useful are described below: