VGA

Description

Moves the area.

Syntax

VGA.moveArea(x, y, width, height, tx, ty)

Parameters

x - x coordinate of source
y - y coordinate of source
width - width of area from x
height - width of area from y
tx - x coordinate of target
ty - y coordinate of target

Returns

none

Example

const int board_x0 = 40;
const int board_y0 = 5;
const int blocks_x = 10;
const int blocksize = 5;

VGA.moveArea( board_x0, board_y0, blocks_x * blocksize, * blocksize, board_x0, board_y0 + blocksize );

See also

  

Share |