48 references to Union
PresentationCore (32)
Core\CSharp\MS\Internal\Ink\ErasingStroke.cs (3)
77_bounds.Union(strokeNode.GetBoundsConnected()); 112inkSegmentBounds.Union(inkNodeBounds); 155inkSegmentBounds.Union(inkNodeBounds);
Core\CSharp\MS\Internal\Ink\Lasso.cs (1)
230currentStrokeSegmentBounds.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)
89bounds.Union(strokeNodeBounds); 486bounds.Union(prevStrokeNodeBounds); 496bounds.Union(prevPrevStrokeNodeBounds); 634bounds.Union(prevPrevStrokeNodeBounds); 635bounds.Union(prevStrokeNodeBounds); 682bounds.Union(prevPrevStrokeNodeBounds); 696bounds.Union(prevStrokeNodeBounds); 697bounds.Union(strokeNodeBounds);
Core\CSharp\MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
280inkBoundingBox.Union(boundingBox);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
692boundingBox.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)
615boundingBox.Union( 1906inkBoundingBox.Union(
Core\CSharp\System\Windows\Ink\Stroke2.cs (1)
47_cachedBounds.Union(strokeNode.GetBounds());
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (1)
47bounds.Union(stroke.GetBounds());
Core\CSharp\System\Windows\Media\BoundsDrawingContextWalker.cs (1)
618_bounds.Union(bounds);
Core\CSharp\System\Windows\Media\Visual.cs (4)
500bboxSubgraph.Union(bboxSubgraphChild); 515bboxSubgraph.Union(contentBounds); 580bboxSubgraph.Union(effectBounds); 1114_bboxSubgraph.Union(bboxSubgraphChild);
Core\CSharp\System\Windows\UIElement.cs (1)
1352hitBounds.Union(resultRect);
PresentationFramework (13)
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
882elementsBounds.Union(elementRect);
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
866pageRect.Union(pageRects[index]);
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
230rangeBounds.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)
266combinedRect.Union(backgroundRect);
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
760boundingRect.Union(uiElementSecondEdgeRect);
src\Framework\System\Windows\Documents\TextStore.cs (5)
970rectBound.Union(lineRect); 1016rectUi.Union(rectDescendant); 3094lineBounds.Union(end.GetCharacterRect(LogicalDirection.Backward)); 3104lineBounds.Union(navigator.GetCharacterRect(LogicalDirection.Backward)); 3109lineBounds.Union(navigator.GetCharacterRect(LogicalDirection.Backward));
WindowsBase (3)
Base\System\Windows\Rect.cs (3)
570rect1.Union(rect2); 579Union(new Rect(point, point)); 587rect.Union(new Rect(point, point));