Modified the MeasureString method. Removed the FindRectangle method.

This commit is contained in:
the_fiddler 2007-11-06 13:30:00 +00:00
parent 21714e0dce
commit 6d8f7d221d

View file

@ -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);
} }
} }