Copy Screen Area

\i M A word::width word::height byte::screen word::pos_x word::pos_y

Parameter Type Range Description
width word 1 ... display width width of the area to copy
height word 1 ... display height height of the area to copy
screen byte M, 0 ... number of screens - 1 index of the screen to copy to (M = main screen)
pos_x word 0 ... display width - 1 horizontal position to copy the content to
pos_y word 0 ... display height - 1 vertical position to copy the content to

Copies the content of an area of the currently active draw screen starting from the current cursor position.

Note

Response: [ACK]

Example

\iMA\D25\D45M\D500\D250

This example copies an area of 25 pixels width and 45 pixels height (starting from the current cursor position) from the currently active draw screen to main screen at coordinates x = 500 and y = 250 pixels.

Not supported by: DPC3020, DPC2060, DPC10xx

See also:

Screen Memory Related Commands
Copy Screen To
Copy Screen From
Paint Screen From
Set View Screen