WriteText |
Top Previous Next |
Syntax WriteText(x as int,y as int,str as STRING, OPT buffer as POINTER) Description Writes text into a buffer Parameters x, y - Coordinates of text in pixels. str - The text to write buffer - Optional. Can be one of BACKBUFFER (default), FRONTBUFFER or SPRITEBUFFER. Return value None Remarks WriteText uses the current font and drawing mode to quickly print a line of text into the buffer. The font and drawing mode can be set with the Emergence BASIC commands SETFONT and DRAWMODE. For time critical application WriteText is significantly faster than using PRINT. Example usage DRAWMODE BackBuffer,@TRANSPARENT |