25 references to Offset
PresentationCore (1)
Core\CSharp\System\Windows\Media\TranslateTransform.cs (1)
91rect.Offset(X, Y);
PresentationFramework (20)
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (1)
334newRect.Offset(x, y);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
6333childRect.Offset(-margin.Left, -margin.Top);
src\Framework\System\Windows\Documents\FixedHighlight.cs (1)
142designRect.Offset(g.OriginX, g.OriginY);
src\Framework\System\Windows\Documents\FixedSOMElement.cs (1)
86alignmentBox.Offset(glyphs.OriginX, glyphs.OriginY);
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (1)
431alignmentBox.Offset(glyphs.OriginX, glyphs.OriginY);
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (4)
62thisRect.Offset(_mat.OffsetX, _mat.OffsetY); 65otherRect.Offset(_mat.OffsetX, _mat.OffsetY); 68thisRect.Offset(_mat.OffsetX, _mat.OffsetY); 69otherRect.Offset(otherRun.Matrix.OffsetX, otherRun.Matrix.OffsetY);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (3)
872box1.Offset(glyph1.OriginX, glyph1.OriginY); 874box2.Offset(glyph2.OriginX, glyph2.OriginY); 1322designRect.Offset(run.BaselineOrigin.X, run.BaselineOrigin.Y);
src\Framework\System\Windows\Documents\FixedTextView.cs (3)
858alignmentRect.Offset(startGlyphs.OriginX, startGlyphs.OriginY); 947box.Offset(g.OriginX, g.OriginY); 1014designRect.Offset(run.BaselineOrigin.X, run.BaselineOrigin.Y);
src\Framework\System\Windows\Documents\Glyphs.cs (1)
168designRect.Offset(_glyphRunOrigin.X, _glyphRunOrigin.Y);
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
452boundingRect.Offset(run.BaselineOrigin.X, run.BaselineOrigin.Y);
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (3)
1247topRightRegionRect.Offset(windowSize.Width / 2 - topRightRadius, 0); 1255bottomLeftRegionRect.Offset(0, windowSize.Height / 2 - bottomLeftRadius); 1263bottomRightRegionRect.Offset(windowSize.Width / 2 - bottomRightRadius, windowSize.Height / 2 - bottomRightRadius);
UIAutomationClientsideProviders (2)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (2)
298rect.Offset(mapClientToScreen.X, mapClientToScreen.Y); 739rect.Offset(mapClientToScreen.X, mapClientToScreen.Y);
WindowsBase (2)
Base\System\Windows\Rect.cs (2)
627rect.Offset(offsetVector.X, offsetVector.Y); 637rect.Offset(offsetX, offsetY);