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