bool Drawtext(char* str,DWORD color,float x,float y,float xalign,float yalign,bool scaled)
Draw a text on screen, with 2d coordinates. This fuction does not support the
fog.
str: the text
lightcolor: color of text
x,y: the screen coordinates
xaling,yalign: [0..1] percent of full left/up align.
scaled:
True: the input coordinates are
in pixel on original sceen size, and they are scaled on modified screen sizes
False: the input coordinates are
in pixel
Result:
Success