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