28 references to BaselineOrigin
PresentationCore (12)
Core\CSharp\MS\Internal\TextFormatting\FormattedTextSymbols.cs (2)
275
boundingBox.X += glyphRun.
BaselineOrigin
.X;
276
boundingBox.Y += glyphRun.
BaselineOrigin
.Y;
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (2)
1573
Draw.SetGuidelineY(glyphRun.
BaselineOrigin
.Y);
1966
Draw.SetGuidelineY(glyphRun.
BaselineOrigin
.Y);
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (2)
270
inkBoundingBox.X += glyphRun.
BaselineOrigin
.X;
271
inkBoundingBox.Y += glyphRun.
BaselineOrigin
.Y;
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1837
inkBoundingBox.X += glyphRun.
BaselineOrigin
.X;
1838
inkBoundingBox.Y += glyphRun.
BaselineOrigin
.Y;
Core\CSharp\System\Windows\Media\BoundsDrawingContextWalker.cs (1)
326
rectangle.Offset((Vector)glyphRun.
BaselineOrigin
);
Core\CSharp\System\Windows\Media\GlyphRun.cs (1)
1910
adjustedInkBoundingBox.Offset((Vector)
BaselineOrigin
);
Core\CSharp\System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
185
rectangle.Offset((Vector)glyphRun.
BaselineOrigin
);
Core\CSharp\System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (1)
125
rectangle.Offset((Vector)glyphRun.
BaselineOrigin
);
PresentationFramework (16)
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (2)
471
if (_lines.IsVerticallySeparated(glyphRun.
BaselineOrigin
.X + cumulativeAdvWidth,
473
glyphRun.
BaselineOrigin
.X + cumulativeAdvWidth + advSpecified,
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (2)
1322
designRect.Offset(run.
BaselineOrigin
.X, run.
BaselineOrigin
.Y);
src\Framework\System\Windows\Documents\FixedTextView.cs (6)
820
distance = run.
BaselineOrigin
.X - xoffset;
824
distance = xoffset - run.
BaselineOrigin
.X;
1014
designRect.Offset(run.
BaselineOrigin
.X, run.
BaselineOrigin
.Y);
1057
designRect.X = run.
BaselineOrigin
.X - x2;
1061
designRect.X = run.
BaselineOrigin
.X + x1;
src\Framework\System\Windows\Documents\HighlightVisual.cs (1)
340
dc.PushGuidelineY1(gr.
BaselineOrigin
.Y);
src\Framework\System\Windows\Documents\RubberbandSelector.cs (5)
452
boundingRect.Offset(run.
BaselineOrigin
.X, run.
BaselineOrigin
.Y);
455
baseline = run.
BaselineOrigin
.Y;
588
double distance = LTR ? xoffset - run.
BaselineOrigin
.X : run.
BaselineOrigin
.X - xoffset;