Modified the MeasureString method. Removed the FindRectangle method.
This commit is contained in:
parent
4b46c731f0
commit
97f2ccf795
1 changed files with 3 additions and 3 deletions
|
@ -7,15 +7,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Drawing;
|
||||
|
||||
using OpenTK.Math;
|
||||
|
||||
namespace OpenTK.Fonts
|
||||
{
|
||||
public interface IFont : IDisposable
|
||||
{
|
||||
void LoadGlyphs(string glyphs);
|
||||
RectangleF FindRectangle(char c);
|
||||
float Height { get; }
|
||||
SizeF MeasureString(string str);
|
||||
void MeasureString(string str, out float width, out float height);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue