35 references to BaselineOrigin
PresentationCore (12)
MS\Internal\TextFormatting\FormattedTextSymbols.cs (2)
256boundingBox.X += glyphRun.BaselineOrigin.X; 257boundingBox.Y += glyphRun.BaselineOrigin.Y;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (2)
1458Draw.SetGuidelineY(glyphRun.BaselineOrigin.Y); 1830Draw.SetGuidelineY(glyphRun.BaselineOrigin.Y);
MS\Internal\TextFormatting\LineServicesRun.cs (2)
241inkBoundingBox.X += glyphRun.BaselineOrigin.X; 242inkBoundingBox.Y += glyphRun.BaselineOrigin.Y;
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1808inkBoundingBox.X += glyphRun.BaselineOrigin.X; 1809inkBoundingBox.Y += glyphRun.BaselineOrigin.Y;
System\Windows\Media\BoundsDrawingContextWalker.cs (1)
310rectangle.Offset((Vector)glyphRun.BaselineOrigin);
System\Windows\Media\GlyphRun.cs (1)
1877adjustedInkBoundingBox.Offset((Vector)BaselineOrigin);
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
170rectangle.Offset((Vector)glyphRun.BaselineOrigin);
System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (1)
111rectangle.Offset((Vector)glyphRun.BaselineOrigin);
PresentationFramework (16)
System\Windows\Documents\FixedSOMPageConstructor.cs (2)
457if (_lines.IsVerticallySeparated(glyphRun.BaselineOrigin.X + cumulativeAdvWidth, 459glyphRun.BaselineOrigin.X + cumulativeAdvWidth + advSpecified,
System\Windows\Documents\FixedTextBuilder.cs (2)
1289designRect.Offset(run.BaselineOrigin.X, run.BaselineOrigin.Y);
System\Windows\Documents\FixedTextView.cs (6)
801distance = run.BaselineOrigin.X - xoffset; 805distance = xoffset - run.BaselineOrigin.X; 994designRect.Offset(run.BaselineOrigin.X, run.BaselineOrigin.Y); 1037designRect.X = run.BaselineOrigin.X - x2; 1041designRect.X = run.BaselineOrigin.X + x1;
System\Windows\Documents\HighlightVisual.cs (1)
326dc.PushGuidelineY1(gr.BaselineOrigin.Y);
System\Windows\Documents\RubberbandSelector.cs (5)
344boundingRect.Offset(run.BaselineOrigin.X, run.BaselineOrigin.Y); 347baseline = run.BaselineOrigin.Y; 480double distance = LTR ? xoffset - run.BaselineOrigin.X : run.BaselineOrigin.X - xoffset;
ReachFramework (7)
AlphaFlattener\Primitive.cs (2)
1746bounds = new Rect(bounds.X + GlyphRun.BaselineOrigin.X, 1747bounds.Y + GlyphRun.BaselineOrigin.Y,
Serialization\VisualSerializer.cs (5)
1632glyphRun.BaselineOrigin, 2073WriteAttr("OriginX", glyphRun.BaselineOrigin.X + dx); 2074WriteAttr("OriginY", glyphRun.BaselineOrigin.Y + dy); 2164bounds.X += glyphRun.BaselineOrigin.X + dx; 2165bounds.Y += glyphRun.BaselineOrigin.Y + dy;