mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 05:05:31 +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
523 B
C#
20 lines
523 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace OpenTK.Graphics
|
|
{
|
|
/// <summary>
|
|
/// Defines available directions for text layout.
|
|
/// </summary>
|
|
public enum TextDirection
|
|
{
|
|
/// <summary>The text is layed out from left to right.</summary>
|
|
LeftToRight,
|
|
/// <summary>The text is layed out from right to left.</summary>
|
|
RightToLeft,
|
|
/// <summary>The text is layed out vertically.</summary>
|
|
Vertical
|
|
}
|
|
}
|