TAP_Osd_DrawPixmap

Topfield Documentation

int TAP_Osd_DrawPixmap(word rgn, dword x, dword y, dword w, dword h, void *pixmap, bool sprite, byte dataFormat);

It draws a 16bit (32768 color) or 8bit (256 color) pixel image.

  • pixmap : the start address of image data
  • 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.
  • dataFormat : pixel data format ( OSD_1555 or OSD_256 )
return value : If 0, it is successful. Else, there is an error.

Additional Documentation