Example #1
0
 public SizeF DrawTextLine(string text, Vector3 position, Color4 colour, QFontAlignment alignment = QFontAlignment.Centre, QFont font = null)
 {
     if (font == null)
     {
         font = DefaultFont.Font;
     }
     return(FontDrawing.Print(font, text, position, alignment, (Color)colour));
 }
Example #2
0
 public SizeF DrawProcessedText(ProcessedText pText, Vector3 position, Color4 colour)
 {
     return(FontDrawing.Print(DefaultFont.Font, pText, position, (Color)colour));
 }