int getDescent(BitmapFontFile fontFile, int padBottom) { var descent = 0; foreach (var c in fontFile.chars) { if (c.width > 0 && c.height > 0) { descent = Math.Min(fontFile.common.base_ + c.yOffset + fontFile.info.outLine, descent); } } return(descent + padBottom); }
int GetDescent(BitmapFontFile fontFile, int padBottom) { var descent = 0; foreach (var c in fontFile.Chars) { if (c.Width > 0 && c.Height > 0) { descent = Math.Min(fontFile.Common.Base_ + c.YOffset + fontFile.Info.OutLine, descent); } } return(descent + padBottom); }
public BitmapFontProcessorResult(BitmapFontFile fontFile) { this.FontFile = fontFile; }
public BitmapFontProcessorResult( BitmapFontFile fontFile ) { this.fontFile = fontFile; }