smrendererv3/SMCode/SM.Base/Drawing/Text/CharParameter.cs
Michel Fedde 51f8dfd522 1.0.11
+ Windows now have a default icon

~ Changed CVector.Set(params float[]) to CVector.SetRaw(params float[])
~ I hope, the text rendering is now fixed.
~ Mouse2D.InWorld(Camera) now uses Camera.CalculatedWorldScale.
2021-04-22 17:49:42 +02:00

34 lines
No EOL
617 B
C#

#region usings
using System;
using OpenTK;
#endregion
namespace SM.Base.Drawing.Text
{
/// <summary>
/// Contains information for a font character.
/// </summary>
[Serializable]
public struct CharParameter
{
/// <summary>
/// The advance on the X-axis.
/// </summary>
public int Advance;
public float BearingX;
/// <summary>
/// The width of the character.
/// </summary>
public float Width;
public Matrix3 TextureMatrix;
public Vector2 Offset;
public Vector2 Scale;
}
}