4 references to GetTextAlignmentCorrection
PresentationFramework (4)
src\Framework\MS\Internal\Documents\TextBoxView.cs (4)
793
suggestedX -=
GetTextAlignmentCorrection
(this.CalculatedTextAlignment, GetWrappingWidth(this.RenderSize.Width));
1851
double horizontalOffset =
GetTextAlignmentCorrection
(lineProperties.TextAlignment, width);
2015
point.X -=
GetTextAlignmentCorrection
(this.CalculatedTextAlignment, GetWrappingWidth(this.RenderSize.Width));
2033
rect.X +=
GetTextAlignmentCorrection
(this.CalculatedTextAlignment, GetWrappingWidth(this.RenderSize.Width));