Function; dr_text2d - HWRM/KarosGraveyard GitHub Wiki

dr_text2d(sName, fX, fY, sText, iColourR, iColourG, iColourB)

Draws 2d text on the screen. Used in timer script.

Example

dr_text2d("timer", 0.0, 0.98, str, 255, 255, 255)

Arguments

  1. sName Name of the drawing surface (could be wrong).
  2. fX X position (ratio of full width) from left.
  3. fY Y position (ratio of full heigth) from bottom.
  4. sText String to display. Variable reference, or, presumably, quoted text.
  5. iColourR RGB value for red.
  6. iColourG RGB value for green.
  7. iColourB RGB value for blue.

Related Pages

dr_clear

dr_setautoclear

Function Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial