1.0.12 & 1.0.12.1

+ Utility Methods for texture transformations

~ Fixed an issue, where the horizontal & vertical flip was wrongly applied
~ Added missing summaries
This commit is contained in:
Michel Fedde 2021-05-05 17:36:12 +02:00
parent a29a2cab53
commit f11a954b5a
10 changed files with 116 additions and 21 deletions

View file

@ -23,6 +23,10 @@ namespace SM2D.Drawing
Transform.Size = new CVector2(1);
}
/// <summary>
/// Sets the height of the text.
/// </summary>
/// <param name="desiredHeight">The height it should be.</param>
public void SetHeight(float desiredHeight)
{
if (!Font.WasCompiled) Font.Compile();