Opentk/Source/OpenTK/Fonts/ITextPrinter.cs

20 lines
769 B
C#
Raw Normal View History

2007-11-01 23:23:19 +00:00
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace OpenTK.Fonts
{
2007-11-06 13:30:25 +00:00
/// <summary>
/// Defines the interface for a TextPrinter.
/// </summary>
public interface ITextPrinter
2007-11-01 23:23:19 +00:00
{
2007-11-06 13:30:25 +00:00
void Prepare(string text, TextureFont font, out TextHandle handle);
void Prepare(string text, TextureFont font, out TextHandle handle, float width, bool wordWarp);
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);
2007-11-01 23:23:19 +00:00
}
}