48 references to Union
PresentationCore (32)
Core\CSharp\MS\Internal\Ink\ErasingStroke.cs (3)
77
_bounds.
Union
(strokeNode.GetBoundsConnected());
112
inkSegmentBounds.
Union
(inkNodeBounds);
155
inkSegmentBounds.
Union
(inkNodeBounds);
Core\CSharp\MS\Internal\Ink\Lasso.cs (1)
230
currentStrokeSegmentBounds.
Union
(nodeBounds);
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (1)
74
_shapeBounds.
Union
(new Rect((Point)_vertices[i], (Point)_vertices[i + 1]));
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (8)
89
bounds.
Union
(strokeNodeBounds);
486
bounds.
Union
(prevStrokeNodeBounds);
496
bounds.
Union
(prevPrevStrokeNodeBounds);
634
bounds.
Union
(prevPrevStrokeNodeBounds);
635
bounds.
Union
(prevStrokeNodeBounds);
682
bounds.
Union
(prevPrevStrokeNodeBounds);
696
bounds.
Union
(prevStrokeNodeBounds);
697
bounds.
Union
(strokeNodeBounds);
Core\CSharp\MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
280
inkBoundingBox.
Union
(boundingBox);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
692
boundingBox.
Union
(DrawCollapsingSymbol(drawingContext, origin, vectorToOrigin));
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (7)
1220
_boundingBox.
Union
(
1234
_boundingBox.
Union
(
1248
_boundingBox.
Union
(
1262
_boundingBox.
Union
(
1577
_boundingBox.
Union
(
1970
_boundingBox.
Union
(
2676
_boundingBox.
Union
(
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (2)
615
boundingBox.
Union
(
1906
inkBoundingBox.
Union
(
Core\CSharp\System\Windows\Ink\Stroke2.cs (1)
47
_cachedBounds.
Union
(strokeNode.GetBounds());
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (1)
47
bounds.
Union
(stroke.GetBounds());
Core\CSharp\System\Windows\Media\BoundsDrawingContextWalker.cs (1)
618
_bounds.
Union
(bounds);
Core\CSharp\System\Windows\Media\Visual.cs (4)
500
bboxSubgraph.
Union
(bboxSubgraphChild);
515
bboxSubgraph.
Union
(contentBounds);
580
bboxSubgraph.
Union
(effectBounds);
1114
_bboxSubgraph.
Union
(bboxSubgraphChild);
Core\CSharp\System\Windows\UIElement.cs (1)
1352
hitBounds.
Union
(resultRect);
PresentationFramework (13)
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
882
elementsBounds.
Union
(elementRect);
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
866
pageRect.
Union
(pageRects[index]);
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
230
rangeBounds.
Union
(rect);
src\Framework\System\Windows\Documents\FixedSOMContainer.cs (1)
251
_boundingRect.
Union
(rect);
src\Framework\System\Windows\Documents\FixedSOMGroup.cs (1)
156
_boundingRect.
Union
(pageElement.BoundingRect);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
1688
_lineLayoutBox.
Union
(run.BoundingRect);
src\Framework\System\Windows\Documents\HighlightVisual.cs (1)
266
combinedRect.
Union
(backgroundRect);
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
760
boundingRect.
Union
(uiElementSecondEdgeRect);
src\Framework\System\Windows\Documents\TextStore.cs (5)
970
rectBound.
Union
(lineRect);
1016
rectUi.
Union
(rectDescendant);
3094
lineBounds.
Union
(end.GetCharacterRect(LogicalDirection.Backward));
3104
lineBounds.
Union
(navigator.GetCharacterRect(LogicalDirection.Backward));
3109
lineBounds.
Union
(navigator.GetCharacterRect(LogicalDirection.Backward));
WindowsBase (3)
Base\System\Windows\Rect.cs (3)
570
rect1.
Union
(rect2);
579
Union
(new Rect(point, point));
587
rect.
Union
(new Rect(point, point));