+ Time controls (Stopwatch, Timers, Intervals) + Added smmeries to everything in SM.Base ~ Renamed Vectors to CVectors.
29 lines
No EOL
687 B
C#
29 lines
No EOL
687 B
C#
using System;
|
|
|
|
namespace SM.Base.Text
|
|
{
|
|
/// <summary>
|
|
/// Contains information for a font character.
|
|
/// </summary>
|
|
[Serializable]
|
|
public struct CharParameter
|
|
{
|
|
/// <summary>
|
|
/// The position on the X-axis.
|
|
/// </summary>
|
|
public int X;
|
|
/// <summary>
|
|
/// The width of the character.
|
|
/// </summary>
|
|
public float Width;
|
|
|
|
/// <summary>
|
|
/// The normalized position inside the texture.
|
|
/// </summary>
|
|
public float NormalizedX;
|
|
/// <summary>
|
|
/// The normalized width inside the texture.
|
|
/// </summary>
|
|
public float NormalizedWidth;
|
|
}
|
|
} |