TAP_Osd_PutStringAf

Topfield Documentation

int TAP_Osd_PutStringAf(word rgn, dword x, dword y, dword maxX, const char *str, word fcolor, word bcolor, byte fntType, byte fntSize, byte nextLine);

It draws the string with anti-flickering color on the screen.

  • maxX : the maximum value in X coordinate of output area. width = maxX - X + 1
  • fcolor : character color. If 0xff, it will be transparent.
  • bcolor : background color. If 0xff, it will be transparent.
  • fntType : font type. It SHOULD be 0.
  • fntSize : font size. FNT_Size_1419, FNT_Size_1622 or FNT_Size_1926
  • nextLine : It decides to print the new line character('\n').
  • lut : the LUT for anti-flickering

Additional Documentation

LUT = Look-Up Table