44 references to IntersectsWith
PresentationCore (19)
Core\CSharp\MS\Internal\Ink\ErasingStroke.cs (4)
114if (inkSegmentBounds.IntersectsWith(_bounds)) 120if (inkSegmentBounds.IntersectsWith(erasingStrokeNode.GetBoundsConnected()) 157if (inkSegmentBounds.IntersectsWith(_bounds)) 164if (false == inkSegmentBounds.IntersectsWith(erasingStrokeNode.GetBoundsConnected()))
Core\CSharp\MS\Internal\Ink\Lasso.cs (4)
233if (currentStrokeSegmentBounds.IntersectsWith(_bounds) == true) 253if (!currentStrokeSegmentBounds.IntersectsWith(lassoSegmentBounds)) 777if (false == _prevBounds.IntersectsWith(newRect)) 786if (!currRect.IntersectsWith(newRect))
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (1)
479bool overlap = prevPrevStrokeNodeBounds.IntersectsWith(strokeNodeBounds);
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (2)
342if (bbox.IntersectsWith(triBBox)) 394if (validTextureCoordinates && bbox.IntersectsWith(triBBox))
Core\CSharp\System\Windows\Ink\IncrementalHitTester.cs (2)
404if (lasso.Bounds.IntersectsWith(strokeInfo.StrokeBounds)) 555if ((erasingBounds.IntersectsWith(strokeInfo.StrokeBounds) == false) ||
Core\CSharp\System\Windows\Ink\Stroke2.cs (2)
374if (erasingBounds.IntersectsWith(this.GetBounds())) 650if (!lasso.Bounds.IntersectsWith(this.GetBounds()))
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (1)
238if (erasingBounds.IntersectsWith(stroke.GetBounds()) &&
Core\CSharp\System\Windows\Media\DrawingVisual.cs (1)
63if ((_content != null) && GetHitTestBounds().IntersectsWith(hitTestParameters.Bounds))
Core\CSharp\System\Windows\Media\Visual.cs (1)
2289if (_bboxSubgraph.IntersectsWith(geometryParams.Bounds))
Core\CSharp\System\Windows\UIElement.cs (1)
3142if ((_drawingContent != null) && GetHitTestBounds().IntersectsWith(hitTestParameters.Bounds))
PresentationFramework (12)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1414if (bounds.IntersectsWith(viewport))
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
1899if (alwaysCenter || !translatedRect.IntersectsWith(viewportRect))
src\Framework\MS\Internal\Documents\TextDocumentView.cs (3)
183if (!columnBox.IntersectsWith(visibleRect)) 1313if (!layoutBox.IntersectsWith(visibleRect)) 1404if (!layoutBox.IntersectsWith(visibleRectThisPara))
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (2)
2311if (testRect.IntersectsWith(visibleRect)) 2422if (testRect.IntersectsWith(visibleRect))
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1194targetRect.IntersectsWith(new Rect(this.RenderSize));
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
1083return viewPortRect.IntersectsWith(elementRect);
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (2)
745if (rect1.IntersectsWith(rect2)) 752if (rect1.IntersectsWith(rect2))
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
1382if (r.IntersectsWith(_hyperlinks[i].BoundingRect))
System.Activities.Presentation (12)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (1)
283if (hitTestRects[i].IntersectsWith(shapeRect))
System.Activities.Presentation\System\Activities\Presentation\View\QuadTree.cs (10)
419if (topLeft.IntersectsWith(bounds) && this.topLeft != null) 424if (topRight.IntersectsWith(bounds) && this.topRight != null) 429if (bottomLeft.IntersectsWith(bounds) && this.bottomLeft != null) 434if (bottomRight.IntersectsWith(bounds) && this.bottomRight != null) 457if (n.Bounds.IntersectsWith(bounds)) 487if (topLeft.IntersectsWith(bounds) && this.topLeft != null) 492if (!found && topRight.IntersectsWith(bounds) && this.topRight != null) 497if (!found && bottomLeft.IntersectsWith(bounds) && this.bottomLeft != null) 502if (!found && bottomRight.IntersectsWith(bounds) && this.bottomRight != null) 527if (n.Bounds.IntersectsWith(bounds))
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
400bool isInView = viewerBounds.IntersectsWith(bounds) || viewerBounds.Contains(bounds) || bounds.Contains(viewerBounds);
WindowsBase (1)
Base\System\Windows\Rect.cs (1)
493if (!this.IntersectsWith(rect))