TAP_Osd_PutGd

Topfield Documentation

int TAP_Osd_PutGd(word rgn, int x, int y, TYPE_GrData * gd, bool sprite);

It displays the pixel data that compressed with TYPE_GrData type. This data type can be made using MakeGd.exe. It can compress 70% approximately The MakeGd.exe will be released at the next time.

  • gd : pixel data of TYPE_GrData type
  • 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.

CAUTION : The member pointer of structure should not be initialized in the declaration part. So, you have to make the sub-routine that initializes TYPE_GrData and member of this structure. (Please refer to Logo.c in sample source codes)

Additional Documentation