mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-16 00:37:23 +00:00
522d1d17dc
Implemented RightToLeft and Vertical TextDirections (Vertical is glitchy). Implemented Near, Far and Center TextAlignments. Improved support for word wrapping. Removed alpha blending from GL11TextOutputProvider.
20 lines
621 B
C#
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
|
|
}
|
|
}
|