/haiku/src/tests/kits/interface/bregion/ |
H A D | RegionIntersect.cpp | 82 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 D | RegionExclude.cpp | 72 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 D | RegionInclude.cpp | 81 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 D | RemoteDrawingEngine.cpp | 306 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 D | DefaultDecorator.cpp | 220 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 D | Region.h | 58 bool Intersects(BRect rect) const; 59 bool Intersects(clipping_rect clipping) const;
|
H A D | Rect.h | 84 bool Intersects(BRect rect) const;
|
/haiku/src/apps/cortex/DiagramView/ |
H A D | DiagramItemGroup.cpp | 339 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 D | DiagramBox.cpp | 141 if (region.Intersects(item->Frame())) in Draw() 152 if (region.Intersects(r = item->Frame())) { in Draw()
|
/haiku/src/add-ons/decorators/FlatDecorator/ |
H A D | FlatDecorator.cpp | 294 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 D | cl_wind.cpp | 90 if (!frame.Intersects(BScreen(this).Frame())) in _InitWindow()
|
/haiku/src/kits/interface/ |
H A D | Region.cpp | 250 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 D | BeDecorator.cpp | 354 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 D | InfoWindow.cpp | 141 if (!screenRect.Intersects(windowRect)) { in _constrainToScreen()
|
/haiku/src/apps/cortex/DormantNodeView/ |
H A D | DormantNodeWindow.cpp | 165 if (!screenRect.Intersects(windowRect)) { in _constrainToScreen()
|
/haiku/src/add-ons/decorators/WinDecorator/ |
H A D | WinDecorator.cpp | 332 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 D | Canvas.cpp | 135 && area.IsValid() && area.Intersects(into->Bounds())) { in Compose()
|
/haiku/src/servers/app/drawing/ |
H A D | HWInterface.cpp | 242 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 D | SelectionBox.cpp | 145 if (!r.IsValid() || !updateRect.Intersects(r)) in Draw()
|
/haiku/src/add-ons/decorators/MacDecorator/ |
H A D | MacDecorator.cpp | 495 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 D | GroupListView.cpp | 218 if (!item->IsVisible() || !item->Frame().Intersects(updateRect)) in _Draw()
|
/haiku/src/add-ons/screen_savers/icons/ |
H A D | IconsSaver.cpp | 170 iconFrame.Intersects(fIcons[j].GetFrame())) in Draw()
|
/haiku/src/apps/diskusage/ |
H A D | InfoWindow.cpp | 56 if (updateRect.Intersects(iconRect)) { in Draw()
|
/haiku/src/servers/app/ |
H A D | IntRect.h | 83 bool Intersects(const IntRect& r) const;
|
H A D | IntRect.cpp | 249 IntRect::Intersects(const IntRect& rect) const in Intersects() function in IntRect
|