Home
last modified time | relevance | path

Searched refs:Intersects (Results 1 – 25 of 72) sorted by relevance

123

/haiku/src/tests/kits/interface/bregion/
H A DRegionIntersect.cpp82 assert(testRegionB->Intersects(tempRect)); in CheckIntersect()
83 if (testRegionA->Intersects(tempRect)) { in CheckIntersect()
84 assert(resultRegion->Intersects(tempRect)); in CheckIntersect()
86 assert(!resultRegion->Intersects(tempRect)); in CheckIntersect()
108 assert(testRegionA->Intersects(tempRect)); in CheckIntersect()
109 if (testRegionB->Intersects(tempRect)) { in CheckIntersect()
110 assert(resultRegion->Intersects(tempRect)); in CheckIntersect()
112 assert(!resultRegion->Intersects(tempRect)); in CheckIntersect()
140 assert(resultRegion->Intersects(tempRect)); in CheckIntersect()
141 assert(testRegionA->Intersects(tempRect)); in CheckIntersect()
[all …]
H A DRegionExclude.cpp72 if (!testRegionAFrame.Intersects(testRegionBFrame)) { in CheckExclude()
87 assert(testRegionB->Intersects(tempRect)); in CheckExclude()
88 assert(!resultRegion->Intersects(tempRect)); in CheckExclude()
105 assert(testRegionA->Intersects(tempRect)); in CheckExclude()
106 if (!testRegionB->Intersects(tempRect)) { in CheckExclude()
107 assert(resultRegion->Intersects(tempRect)); in CheckExclude()
132 assert(resultRegion->Intersects(tempRect)); in CheckExclude()
133 assert(testRegionA->Intersects(tempRect)); in CheckExclude()
134 assert(!testRegionB->Intersects(tempRect)); in CheckExclude()
H A DRegionInclude.cpp81 assert(testRegionB->Intersects(tempRect)); in CheckInclude()
82 assert(resultRegion->Intersects(tempRect)); in CheckInclude()
99 assert(testRegionA->Intersects(tempRect)); in CheckInclude()
100 assert(resultRegion->Intersects(tempRect)); in CheckInclude()
118 assert(resultRegion->Intersects(tempRect)); in CheckInclude()
119 assert((testRegionA->Intersects(tempRect)) || in CheckInclude()
120 (testRegionB->Intersects(tempRect))); in CheckInclude()
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteDrawingEngine.cpp306 if (!fClippingRegion.Intersects(rect)) in InvertRect()
402 if (!fClippingRegion.Intersects(bounds)) in DrawArc()
417 if (!fClippingRegion.Intersects(rect)) in FillArc()
437 if (!fClippingRegion.Intersects(bounds)) in DrawBezier()
451 if (!fClippingRegion.Intersects(bounds)) in FillBezier()
469 if (!fClippingRegion.Intersects(bounds)) in DrawEllipse()
482 if (!fClippingRegion.Intersects(rect)) in FillEllipse()
501 if (!fClippingRegion.Intersects(clipBounds)) in DrawPolygon()
519 if (!fClippingRegion.Intersects(bounds)) in FillPolygon()
543 if (!fClippingRegion.Intersects(bounds)) in StrokePoint()
[all …]
/haiku/src/servers/app/decorator/
H A DDefaultDecorator.cpp220 if (rect.Intersects(fTopBorder)) { in _DrawFrame()
244 if (rect.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
257 if (rect.Intersects(fBottomBorder)) { in _DrawFrame()
270 if (rect.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
289 if (rect.Intersects(fTopBorder)) { in _DrawFrame()
313 if (rect.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
336 if (rect.Intersects(fBottomBorder)) { in _DrawFrame()
349 if (rect.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
391 if (rect.Intersects(border)) in _DrawFrame()
395 if (rect.Intersects(fResizeRect)) { in _DrawFrame()
[all …]
/haiku/headers/os/interface/
H A DRegion.h58 bool Intersects(BRect rect) const;
59 bool Intersects(clipping_rect clipping) const;
H A DRect.h84 bool Intersects(BRect rect) const;
/haiku/src/apps/cortex/DiagramView/
H A DDiagramItemGroup.cpp339 if (item->Frame().Intersects(updateRect)) in DrawItems()
347 if (item && item->Frame().Intersects(updateRect)) { in DrawItems()
358 if (item && item->Frame().Intersects(updateRect)) in DrawItems()
383 if (item && item->Frame().Intersects(r)) { in GetClippingAbove()
397 if (item && item->Frame().Intersects(r)) { in GetClippingAbove()
H A DDiagramBox.cpp141 if (region.Intersects(item->Frame())) in Draw()
152 if (region.Intersects(r = item->Frame())) { in Draw()
/haiku/src/add-ons/decorators/FlatDecorator/
H A DFlatDecorator.cpp294 if (rect.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
308 if (rect.Intersects(fBottomBorder)) { in _DrawFrame()
319 if (rect.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
334 if (rect.Intersects(fTopBorder)) { in _DrawFrame()
358 if (rect.Intersects(fTopBorder)) { in _DrawFrame()
377 if (rect.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
397 if (rect.Intersects(fBottomBorder)) { in _DrawFrame()
408 if (rect.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
446 if (!rect.Intersects(r)) in _DrawFrame()
486 if (!rect.Intersects(BRect(fRightBorder.right - kBorderResizeLength, in _DrawFrame()
[all …]
/haiku/src/apps/clock/
H A Dcl_wind.cpp90 if (!frame.Intersects(BScreen(this).Frame())) in _InitWindow()
/haiku/src/kits/interface/
H A DRegion.cpp250 BRegion::Intersects(BRect rect) const in Intersects() function in BRegion
252 return Intersects(_Convert(rect)); in Intersects()
257 BRegion::Intersects(clipping_rect clipping) const in Intersects() function in BRegion
/haiku/src/add-ons/decorators/BeDecorator/
H A DBeDecorator.cpp354 if (invalid.Intersects(fTopBorder)) { in _DrawFrame()
374 if (invalid.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
384 if (invalid.Intersects(fBottomBorder)) { in _DrawFrame()
395 if (invalid.Intersects( in _DrawFrame()
413 if (invalid.Intersects(fTopBorder)) { in _DrawFrame()
433 if (invalid.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
453 if (invalid.Intersects(fBottomBorder)) { in _DrawFrame()
464 if (invalid.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
502 if (!invalid.Intersects(r)) in _DrawFrame()
548 if (!invalid.Intersects(BRect(fRightBorder.right in _DrawFrame()
[all …]
/haiku/src/apps/cortex/InfoView/
H A DInfoWindow.cpp141 if (!screenRect.Intersects(windowRect)) { in _constrainToScreen()
/haiku/src/apps/cortex/DormantNodeView/
H A DDormantNodeWindow.cpp165 if (!screenRect.Intersects(windowRect)) { in _constrainToScreen()
/haiku/src/add-ons/decorators/WinDecorator/
H A DWinDecorator.cpp332 if (!tabRect.IsValid() || !rect.Intersects(tabRect) in _DrawTab()
396 && invalid.Intersects(tab->minimizeRect)) { in _DrawButtons()
400 && invalid.Intersects(tab->zoomRect)) { in _DrawButtons()
404 && invalid.Intersects(tab->closeRect)) { in _DrawButtons()
/haiku/src/add-ons/translators/wonderbrush/
H A DCanvas.cpp135 && area.IsValid() && area.Intersects(into->Bounds())) { in Compose()
/haiku/src/servers/app/drawing/
H A DHWInterface.cpp242 if (newFrame.Intersects(oldFrame)) in MoveCursorTo()
365 if (area.IsValid() && area.Intersects(bufferClip)) { in CopyBackToFront()
477 if (area.Intersects(backupArea)) { in HideFloatingOverlays()
549 if (cf.IsValid() && area.Intersects(cf)) { in _DrawCursor()
/haiku/src/apps/showimage/
H A DSelectionBox.cpp145 if (!r.IsValid() || !updateRect.Intersects(r)) in Draw()
/haiku/src/add-ons/decorators/MacDecorator/
H A DMacDecorator.cpp495 if (!tab->tabRect.IsValid() || !invalid.Intersects(tab->tabRect)) in _DrawTab()
615 && invalid.Intersects(tab->closeRect)) { in _DrawButtons()
619 && invalid.Intersects(tab->minimizeRect)) { in _DrawButtons()
623 && invalid.Intersects(tab->zoomRect)) { in _DrawButtons()
/haiku/src/apps/switcher/
H A DGroupListView.cpp218 if (!item->IsVisible() || !item->Frame().Intersects(updateRect)) in _Draw()
/haiku/src/add-ons/screen_savers/icons/
H A DIconsSaver.cpp170 iconFrame.Intersects(fIcons[j].GetFrame())) in Draw()
/haiku/src/apps/diskusage/
H A DInfoWindow.cpp56 if (updateRect.Intersects(iconRect)) { in Draw()
/haiku/src/servers/app/
H A DIntRect.h83 bool Intersects(const IntRect& r) const;
H A DIntRect.cpp249 IntRect::Intersects(const IntRect& rect) const in Intersects() function in IntRect

123