35 references to BaselineOrigin
PresentationCore (12)
MS\Internal\TextFormatting\FormattedTextSymbols.cs (2)
264boundingBox.X += glyphRun.BaselineOrigin.X; 265boundingBox.Y += glyphRun.BaselineOrigin.Y;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (2)
1477Draw.SetGuidelineY(glyphRun.BaselineOrigin.Y); 1849Draw.SetGuidelineY(glyphRun.BaselineOrigin.Y);
MS\Internal\TextFormatting\LineServicesRun.cs (2)
255inkBoundingBox.X += glyphRun.BaselineOrigin.X; 256inkBoundingBox.Y += glyphRun.BaselineOrigin.Y;
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1817inkBoundingBox.X += glyphRun.BaselineOrigin.X; 1818inkBoundingBox.Y += glyphRun.BaselineOrigin.Y;
System\Windows\Media\BoundsDrawingContextWalker.cs (1)
324rectangle.Offset((Vector)glyphRun.BaselineOrigin);
System\Windows\Media\GlyphRun.cs (1)
1890adjustedInkBoundingBox.Offset((Vector)BaselineOrigin);
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
183rectangle.Offset((Vector)glyphRun.BaselineOrigin);
System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (1)
123rectangle.Offset((Vector)glyphRun.BaselineOrigin);
PresentationFramework (16)
System\Windows\Documents\FixedSOMPageConstructor.cs (2)
462if (_lines.IsVerticallySeparated(glyphRun.BaselineOrigin.X + cumulativeAdvWidth, 464glyphRun.BaselineOrigin.X + cumulativeAdvWidth + advSpecified,
System\Windows\Documents\FixedTextBuilder.cs (2)
1295designRect.Offset(run.BaselineOrigin.X, run.BaselineOrigin.Y);
System\Windows\Documents\FixedTextView.cs (6)
809distance = run.BaselineOrigin.X - xoffset; 813distance = xoffset - run.BaselineOrigin.X; 1002designRect.Offset(run.BaselineOrigin.X, run.BaselineOrigin.Y); 1045designRect.X = run.BaselineOrigin.X - x2; 1049designRect.X = run.BaselineOrigin.X + x1;
System\Windows\Documents\HighlightVisual.cs (1)
336dc.PushGuidelineY1(gr.BaselineOrigin.Y);
System\Windows\Documents\RubberbandSelector.cs (5)
354boundingRect.Offset(run.BaselineOrigin.X, run.BaselineOrigin.Y); 357baseline = run.BaselineOrigin.Y; 490double distance = LTR ? xoffset - run.BaselineOrigin.X : run.BaselineOrigin.X - xoffset;
ReachFramework (7)
AlphaFlattener\Primitive.cs (2)
1751bounds = new Rect(bounds.X + GlyphRun.BaselineOrigin.X, 1752bounds.Y + GlyphRun.BaselineOrigin.Y,
Serialization\VisualSerializer.cs (5)
1640glyphRun.BaselineOrigin, 2081WriteAttr("OriginX", glyphRun.BaselineOrigin.X + dx); 2082WriteAttr("OriginY", glyphRun.BaselineOrigin.Y + dy); 2172bounds.X += glyphRun.BaselineOrigin.X + dx; 2173bounds.Y += glyphRun.BaselineOrigin.Y + dy;