mirror of
				https://github.com/Ryujinx/Opentk.git
				synced 2025-11-04 10:35:01 +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.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