Exemplo n.º 1
0
 protected void AddTextWidth(double textWidth)
 {
     if (_textRendering != null && textWidth != 0)
     {
         _textRendering.AddTextWidth(textWidth);
     }
 }
Exemplo n.º 2
0
 protected void AddTextWidth(double textWidth)
 {
     if (_textRendering != null && !textWidth.Equals(0))
     {
         _textRendering.AddTextWidth(textWidth);
     }
 }
Exemplo n.º 3
0
 protected void AddTextWidth(Point location, double textWidth)
 {
     if (_textRendering != null && !textWidth.Equals(0))
     {
         var textContext = _textRendering.TextContext;
         if (textContext != null)
         {
             textContext.AddTextSize(location, textWidth);
         }
         _textRendering.AddTextWidth(textWidth);
     }
 }