コード例 #1
0
 private void AddGlyph(FastList <Glyph> c, Glyph g)
 {
     IsEmpty    = false;
     g.X        = c.Count == 0 ? 0 : (c[c.Count - 1].X + c[c.Count - 1].Width);
     g.Index    = c.Count;
     g.Renderer = this;
     g.DoLayout();
     c.Add(g);
 }