//------------------------------------------------------------------- // // Internal Methods // //------------------------------------------------------------------- #region Internal Methods // ------------------------------------------------------------------ // Constructor. // // owner - owner of the line. // ------------------------------------------------------------------ internal Line(System.Windows.Controls.TextBlock owner) { _owner = owner; _textAlignment = owner.TextAlignment; _showParagraphEllipsis = false; _wrappingWidth = _owner.RenderSize.Width; PixelsPerDip = _owner.GetDpi().PixelsPerDip; }