Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace QuickFont
{
public class QFontGlyph
{
/// <summary>
/// Which texture page the glyph is on
/// </summary>
public int page;
/// <summary>
/// The rectangle defining the glyphs position on the page
/// </summary>
public Rectangle rect;
/// <summary>
/// How far the glyph would need to be vertically offset to be vertically in line with the tallest glyph in the set of all glyphs
/// </summary>
public int yOffset;
/// <summary>
/// Which character this glyph represents
/// </summary>
public char character;
public QFontGlyph(int page, Rectangle rect, int yOffset, char character)
{
this.page = page;
this.rect = rect;
this.yOffset = yOffset;
this.character = character;
}
}
}
5203ce801This file is pinned to the selected release. Download the original to open it in your design tool.