mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 18:55:38 +00:00
Modified the MeasureString method. Removed the FindRectangle method.
This commit is contained in:
parent
21714e0dce
commit
6d8f7d221d
|
@ -7,15 +7,15 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Drawing;
|
|
||||||
|
using OpenTK.Math;
|
||||||
|
|
||||||
namespace OpenTK.Fonts
|
namespace OpenTK.Fonts
|
||||||
{
|
{
|
||||||
public interface IFont : IDisposable
|
public interface IFont : IDisposable
|
||||||
{
|
{
|
||||||
void LoadGlyphs(string glyphs);
|
void LoadGlyphs(string glyphs);
|
||||||
RectangleF FindRectangle(char c);
|
|
||||||
float Height { get; }
|
float Height { get; }
|
||||||
SizeF MeasureString(string str);
|
void MeasureString(string str, out float width, out float height);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue