MigraDoc.Rendering.ParagraphRenderer.RenderListSymbol C# (CSharp) Method

RenderListSymbol() private method

private RenderListSymbol ( ) : void
return void
    void RenderListSymbol()
    {
      string symbol;
      XFont font;
      if (GetListSymbol(out symbol, out font))
      {
        XBrush brush = FontHandler.FontColorToXBrush(this.paragraph.Format.Font);
        this.gfx.DrawString(symbol, font, brush, this.currentXPosition, CurrentBaselinePosition);
        this.currentXPosition += this.gfx.MeasureString(symbol, font, StringFormat).Width;
        TabOffset tabOffset = NextTabOffset();
        this.currentXPosition += tabOffset.offset;
        this.lastTabPosition = this.currentXPosition;
      }
    }
ParagraphRenderer