예제 #1
0
 protected void AddTextWidth(double textWidth)
 {
     if (_textRendering != null && textWidth != 0)
     {
         _textRendering.AddTextWidth(textWidth);
     }
 }
예제 #2
0
 protected void AddTextWidth(double textWidth)
 {
     if (_textRendering != null && !textWidth.Equals(0))
     {
         _textRendering.AddTextWidth(textWidth);
     }
 }
예제 #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);
     }
 }