Opentk/Source/Utilities/Graphics/TextAlignment.cs
the_fiddler 522d1d17dc Added TextAlignment and TextDirection enums.
Implemented RightToLeft and Vertical TextDirections (Vertical is glitchy).
Implemented Near, Far and Center TextAlignments.
Improved support for word wrapping.
Removed alpha blending from GL11TextOutputProvider.
2009-02-12 22:50:05 +00:00

20 lines
621 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace OpenTK.Graphics
{
/// <summary>
/// Defines available alignments for text.
/// </summary>
public enum TextAlignment
{
/// <summary>The text is aligned to the near side (left for left-to-right text and right for right-to-left text).</summary>
Near = 0,
/// <summary>The text is aligned to the center.</summary>
Center,
/// <summary>The text is aligned to the far side (right for left-to-right text and left for right-to-left text).</summary>
Far
}
}