diff --git a/Source/OpenTK/Fonts/ITextPrinter.cs b/Source/OpenTK/Fonts/ITextPrinter.cs index aaf74e62..32d13881 100644 --- a/Source/OpenTK/Fonts/ITextPrinter.cs +++ b/Source/OpenTK/Fonts/ITextPrinter.cs @@ -21,6 +21,7 @@ namespace OpenTK.Fonts void Prepare(string text, TextureFont font, out TextHandle handle, float width, bool wordWarp, StringAlignment alignment); void Prepare(string text, TextureFont font, out TextHandle handle, float width, bool wordWarp, StringAlignment alignment, bool rightToLeft); void Draw(TextHandle handle); + void Draw(string text, TextureFont font); void Begin(); void End(); } diff --git a/Source/OpenTK/Fonts/TextPrinter.cs b/Source/OpenTK/Fonts/TextPrinter.cs index 238892ca..9c106540 100644 --- a/Source/OpenTK/Fonts/TextPrinter.cs +++ b/Source/OpenTK/Fonts/TextPrinter.cs @@ -239,7 +239,17 @@ namespace OpenTK.Fonts #endregion - #region public void Draw(string text) + #region public void Draw(string text, TextureFont font) + + /// + /// Draws dynamic text without caching. Not implemented yet! + /// + /// The System.String to draw. + /// The OpenTK.Fonts.TextureFont to draw the text in. + public void Draw(string text, TextureFont font) + { + throw new NotImplementedException(); + } #endregion