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