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