Mmap, Mmap move a rectangular bitmap area – Quantum Data 802BT User Manual

Page 448

Advertising
background image

438

Appendix A Command Reference

MMAP

Move a rectangular bitMAP area

Class

Video Frame Buffer manipulation

Description

Copies a rectangular area of pixels from one location of the video frame buffer to another.

The size of the area, in pixels, is defined by the width and height parameters. The top left

corner of the source location is specified by xs, ys pixel coordinates. The top left corner of

the destination location is specified by the xd, yd pixel coordinates.

Command syntax

MMAP width height xs ys xd yd

width, height

size of the area, in pixels

xs, ys

top left corner of the source location

xd, yd

top left corner of the destination location

Query syntax

MMAP?

Example

MMAP 40 30 0 0 50 50 // Copies a 40 pixel wide by 30 pixel high area

// in the top left corner of active video to an
// area 50 pixel below and to the right of the top
// left corner.

Advertising
This manual is related to the following products: