mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 07:05:35 +00:00
Added TextPrinter.Draw() for dynamic text. Not implemented yet.
This commit is contained in:
parent
8db2411038
commit
726ddbf0c2
|
@ -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);
|
||||||
void Prepare(string text, TextureFont font, out TextHandle handle, float width, bool wordWarp, StringAlignment alignment, bool rightToLeft);
|
void Prepare(string text, TextureFont font, out TextHandle handle, float width, bool wordWarp, StringAlignment alignment, bool rightToLeft);
|
||||||
void Draw(TextHandle handle);
|
void Draw(TextHandle handle);
|
||||||
|
void Draw(string text, TextureFont font);
|
||||||
void Begin();
|
void Begin();
|
||||||
void End();
|
void End();
|
||||||
}
|
}
|
||||||
|
|
|
@ -239,7 +239,17 @@ namespace OpenTK.Fonts
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region public void Draw(string text)
|
#region public void Draw(string text, TextureFont font)
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Draws dynamic text without caching. Not implemented yet!
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="text">The System.String to draw.</param>
|
||||||
|
/// <param name="font">The OpenTK.Fonts.TextureFont to draw the text in.</param>
|
||||||
|
public void Draw(string text, TextureFont font)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue