mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 18:15:39 +00:00
d7558f889f
Improved TextureFont.MeasureString whitespace calculations. Added uncached TextPrinter.Draw implementation.
25 lines
615 B
C#
25 lines
615 B
C#
#region --- License ---
|
|
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
|
* See license.txt for license info
|
|
*/
|
|
#endregion
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
using OpenTK.Math;
|
|
|
|
namespace OpenTK.Fonts
|
|
{
|
|
/// <summary>
|
|
/// Defines the interface for TextPrinter implementations.
|
|
/// </summary>
|
|
interface ITextPrinterImplementation
|
|
{
|
|
TextHandle Load(Vector2[] vertices, ushort[] indices, int index_count);
|
|
void Draw(TextHandle handle);
|
|
void Draw(Vector2[] vertices, ushort[] indices, int index_count);
|
|
}
|
|
}
|