public void DrawString(string text, Rectangle rectangle, TextFormat format, Color4 color) { QFont.Begin(); _font.Options.Colour = color.ToGLColor4(); _font.Print(text, new OpenTK.Vector2(rectangle.X, rectangle.Y)); QFont.End(); }
public void DrawString(string text, int x, int y, Color4 color) { QFont.Begin(); _font.Options.Colour = color.ToGLColor4(); _font.Print(text, new OpenTK.Vector2(x, y)); QFont.End(); }