mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 16:05:31 +00:00
Updated ITextPrinter interface for the new implementation.
This commit is contained in:
parent
15eaba60a9
commit
fa12673450
|
@ -8,6 +8,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Drawing;
|
||||
using OpenTK.Graphics.Text;
|
||||
|
||||
namespace OpenTK.Graphics
|
||||
{
|
||||
|
@ -16,13 +17,13 @@ namespace OpenTK.Graphics
|
|||
/// </summary>
|
||||
public interface ITextPrinter
|
||||
{
|
||||
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);
|
||||
void Draw(string text, TextureFont font);
|
||||
void Begin();
|
||||
void End();
|
||||
void Print(string text, Font font);
|
||||
void Print(string text, Font font, TextPrinterOptions options);
|
||||
void Print(string text, Font font, TextPrinterOptions options, RectangleF layoutRectangle);
|
||||
TextExtents Measure(string text, Font font);
|
||||
TextExtents Measure(string text, Font font, TextPrinterOptions options);
|
||||
TextExtents Measure(string text, Font font, TextPrinterOptions options, RectangleF layoutRectangle);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue