COPY BITMAP This command will copy the contents of one bitmap into another bitmap providing the destination bitmap is not smaller than the first.
Syntax
    COPY BITMAP From Bitmap,To Bitmap
    COPY BITMAP From Bitmap,Left,Top,Right,Bottom,To Bitmap,Left,Top,Right,Bottom
Parameters
    From Bitmap
Integer This value is an integer number such as 1.
    Left
Integer This value is an integer number such as 1.
    Top
Integer This value is an integer number such as 1.
    Right
Integer This value is an integer number such as 1.
    Bottom
Integer This value is an integer number such as 1.
    To Bitmap
Integer This value is an integer number such as 1.
    Left
Integer This value is an integer number such as 1.
    Top
Integer This value is an integer number such as 1.
    Right
Integer This value is an integer number such as 1.
    Bottom
Integer This value is an integer number such as 1.
Returns
This command does not return a value.
Description
The command requires at least a source and destination bitmap. You can optionally specify a source area to be copied from and a destination area to be copied to within each bitmap. If the size of the two areas differ, the source data will be rescaled to fit in the destination area. The parameters should be specified using integer values.
Example Code
    CREATE BITMAP 1,200,200

    CLS RGB(255,0,0)

    COPY BITMAP 1,0,0,200,200,0,10,10,210,210

    WAIT KEY
See also
BITMAP Commands Menu Index