public void Push(BitmapChar ch) { _chars.Push(ch); this.Width += this.GetWidth(ch); }
public float GetWidth(BitmapChar ch) { return((_chars.Count > 0 ? ch.GetKerning(_chars.Peek().Id) : 0f) + ch.Advance + _kerning); }