BitmapFontParser/Kerning.cs
Download
BitmapFontParser.zip
(500.33 KB | 02 January 2012 )
Source code for a parser for AngelCode BMFont text and XML font formats.
Donate
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Contents of BitmapFontParser.zip/BitmapFontParser/Kerning.cs
namespace Cyotek.Drawing.BitmapFont
{
public struct Kerning
{
#region Public Constructors
public Kerning(char firstCharacter, char secondCharacter, int amount)
: this()
{
this.FirstCharacter = firstCharacter;
this.SecondCharacter = secondCharacter;
this.Amount = amount;
}
#endregion Public Constructors
#region Public Methods
public override string ToString()
{
return string.Format("{0} to {1} = {2}", this.FirstCharacter, this.SecondCharacter, this.Amount);
}
#endregion Public Methods
#region Public Properties
public char FirstCharacter { get; set; }
public char SecondCharacter { get; set; }
public int Amount { get; set; }
#endregion Public Properties
}
}
Files
- BitmapFontParser
-
BitmapFontViewer
- Properties
- Resources
-
samples
- arial-32bi.bmfc
- arial-32bi.fnt
- arial-32bi.xml.fnt
- arial-32bi.xml_0.png
- arial-32bi.xml_1.png
- arial-32bi.xml_2.png
- arial-32bi.xml_3.png
- arial-32bi_0.png
- arial-32bi_1.png
- arial-32bi_2.png
- arial-32bi_3.png
- pixelmix-32.bmfc
- pixelmix-32.fnt
- pixelmix-32_0.png
- resource-32.bmfc
- resource-32.fnt
- resource-32_0.png
- treasuremap-32.bmfc
- treasuremap-32.fnt
- treasuremap-32_0.png
- treasuremap-32b.fnt
- treasuremap-32b_0.png
- treasuremap-48.bmfc
- treasuremap-48.fnt
- treasuremap-48_0.png
- treasuremap-48b.fnt
- treasuremap-48b.xml.fnt
- treasuremap-48b.xml_0.png
- treasuremap-48b_0.png
- BitmapFontViewer.csproj
- BitmapFontViewer.sln
- Icon.ico
- ImageBox.cs
- ImageBox.designer.cs
- ImageBoxBorderStyle.cs
- ImageBoxGridDisplayMode.cs
- ImageBoxGridScale.cs
- MainForm.cs
- MainForm.Designer.cs
- MainForm.resx
- Program.cs
- PropertyGrid.cs
