smrendererv3/SMCode/SM.Base/Drawing/Text/CharParameter.cs
2021-05-02 14:48:29 +02:00

31 lines
No EOL
555 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;
}
}