TAP_Osd_Copy

Topfield Documentation

int TAP_Osd_Copy(word srcRgnNum, word dstRgnNum, dword srcX, dword srcY, dword w, dword h, dword dstX, dword dstY, bool sprite);

It copies some portion of a region to other region or to any other position in the same region.

  • srcRgnNum : the index of source region
  • dstRgnNum : the index of destination region
  • srcX : the start position in X coordinate of source to be copied
  • srcY : the start position in Y coordinate of source to be copied
  • dstX : the start position in X coordinate of destination to copy
  • dstY : the start position in Y coordinate of destination to copy
  • sprite : FALSE - All pixel data will be drawn on the region. TRUE - The pixel data with color index 0 will not be drawn on the region.

Additional Documentation