Searched refs:region (Results 101 - 125 of 135) sorted by last modified time

123456

/haiku/src/tests/servers/app/newClipping/
H A DMyView.cpp201 void MyView::CopyRegion(BRegion *region, int32 xOffset, int32 yOffset) argument
204 int32 count = region->CountRects();
210 nodes[i].init(region->RectAt(i), count);
214 BRect a = region->RectAt(i);
216 BRect b = region->RectAt(k);
H A DMyView.h19 void CopyRegion(BRegion *region, int32 xOffset, int32 yOffset);
H A DWinBorder.cpp53 bool WinBorder::alter_visible_for_children(BRegion &region) argument
55 region.Exclude(&fDecRegion);
H A DWinBorder.h16 virtual bool alter_visible_for_children(BRegion &region);
/haiku/src/tests/servers/app/newerClipping/
H A DDesktop.cpp353 // the dirty region starts with the visible area of the window being moved
361 // construct the region that is possible to be blitted
367 // include the the new visible region of the window being
368 // moved into the dirty region (for now)
446 // region anymore, so we need to remember
466 // when the window was hidden, the dirty region
572 Desktop::MarkDirty(BRegion* region) argument
574 if (region->CountRects() == 0)
578 // send redraw messages to all windows intersecting the dirty region
579 _TriggerWindowRedrawing(region);
[all...]
H A DDesktop.h92 void MarkDirty(BRegion* region);
H A DViewLayer.cpp299 ViewLayer::ConvertToParent(BRegion* region) const
302 region->OffsetBy(fFrame.left - fScrollingOffset.x,
326 ViewLayer::ConvertFromParent(BRegion* region) const
329 region->OffsetBy(fScrollingOffset.x - fFrame.left,
355 ViewLayer::ConvertToTop(BRegion* region) const
357 ConvertToParent(region);
360 fParent->ConvertToTop(region);
385 ViewLayer::ConvertFromTop(BRegion* region) const
387 ConvertFromParent(region);
390 fParent->ConvertFromTop(region);
[all...]
H A DViewLayer.h59 void ConvertToParent(BRegion* region) const;
63 void ConvertFromParent(BRegion* region) const;
67 void ConvertToTop(BRegion* region) const;
71 void ConvertFromTop(BRegion* region) const;
H A DWindowLayer.cpp96 // reset the dirty region, since
100 // blocking on the global region lock to
177 // start from full region (as if the window was fully visible)
179 // clip to region still available on screen
188 WindowLayer::GetFullRegion(BRegion* region) const
191 region->Set(BRect(fFrame.left - 4, fFrame.top - 4,
194 region->Include(BRect(fFrame.left - 4, fFrame.top - 20,
200 WindowLayer::GetBorderRegion(BRegion* region) argument
218 *region = fBorderRegion;
223 WindowLayer::GetContentRegion(BRegion* region) argument
392 ProcessDirtyRegion(BRegion* region) argument
471 CopyContents(BRegion* region, int32 xOffset, int32 yOffset) argument
529 _ShiftPartOfRegion(BRegion* region, BRegion* regionToShift, int32 xOffset, int32 yOffset) argument
[all...]
H A DWindowLayer.h72 void GetFullRegion(BRegion* region) const;
73 void GetBorderRegion(BRegion* region);
74 void GetContentRegion(BRegion* region);
95 void ProcessDirtyRegion(BRegion* region);
100 void CopyContents(BRegion* region,
104 void _ShiftPartOfRegion(BRegion* region, BRegion* regionToShift,
122 // the visible region is only recalculated from the
128 // our part of the "global" dirty region
162 // belong to the redraw of which region is handled
/haiku/src/tests/servers/app/newerClipping/drawing/
H A DAccelerantHWInterface.h60 virtual void FillRegion(/*const*/ BRegion& region,
62 virtual void InvertRegion(/*const*/ BRegion& region);
84 void _RegionToRectParams(/*const*/ BRegion* region,
H A DDrawingEngine.cpp42 DrawingEngine::ConstrainClipping(BRegion* region) argument
44 if (region)
45 fCurrentClipping = *region;
136 DrawingEngine::FillRegion(BRegion *region, const rgb_color& color) argument
140 fHWInterface->FillRegion(*region, color);
212 DrawingEngine::CopyRegion(BRegion* region, int32 xOffset, int32 yOffset) argument
216 int32 count = region->CountRects();
222 nodes[i].init(region->RectAt(i), count);
226 BRect a = region->RectAt(i);
228 BRect b = region
[all...]
H A DDrawingEngine.h20 void ConstrainClipping(BRegion* region);
26 void FillRegion(BRegion *region, const rgb_color& color);
31 void CopyRegion(BRegion *region, int32 xOffset, int32 yOffset);
/haiku/src/tests/servers/app/painter/
H A DPainter.cpp173 Painter::ConstrainClipping(const BRegion& region) argument
175 // The idea is that if the clipping region was
178 // an *empty* clipping region.
180 fClippingRegion = new BRegion(region);
182 *fClippingRegion = region;
872 Painter::FillRegion(const BRegion* region, const pattern& p = B_SOLID_HIGH) const argument
874 BRegion copy(*region);
885 BRegion region(r);
887 region.IntersectWith(fClippingRegion);
890 int32 count = region
[all...]
H A DPainter.h34 void ConstrainClipping(const BRegion& region);
201 void FillRegion( const BRegion* region,
/haiku/src/servers/app/
H A DRegionPool.cpp46 BRegion* region = (BRegion*)fAvailable.RemoveItem( local
48 if (!region) {
49 region = new (nothrow) BRegion();
50 if (!region) {
57 fUsed.AddItem(region);
59 return region;
66 BRegion* region; local
69 region = (BRegion*)fAvailable.RemoveItem(count - 1);
70 *region = other;
72 region
88 Recycle(BRegion* region) argument
[all...]
H A DRegionPool.h25 void Recycle(BRegion* region);
/haiku/src/servers/app/stackandtile/
H A DTiling.cpp500 Decorator::Region region, bool highlight)
536 _HighlightWindows(corner->windowArea, region, highlight);
545 SATTiling::_HighlightWindows(WindowArea* area, Decorator::Region region, argument
552 topWindow->HighlightBorders(region, highlight);
498 _SearchHighlightWindow(Tab* tab, Tab* firstOrthTab, Tab* secondOrthTab, const TabList* orthTabs, Corner::position_t areaCorner, Decorator::Region region, bool highlight) argument
H A DTiling.h59 Decorator::Region region, bool highlight);
61 Decorator::Region region, bool highlight);
/haiku/src/servers/input/
H A DInputServerFilter.cpp87 BInputServerFilter::GetScreenRegion(BRegion *region) const
89 if (!region)
92 *region = BRegion(((InputServer*)be_app)->ScreenFrame());
/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconButton.cpp143 // constrain clipping region
144 BRegion region= originalClippingRegion; local
145 GetClippingRegion(&region);
146 region.Exclude(bitmap->Bounds().OffsetByCopy(point));
147 ConstrainClippingRegion(&region);
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/
H A DIconValueView.cpp54 // constrain clipping region to exclude bitmap
55 BRegion region = originalClippingRegion; local
56 region.Exclude(r);
57 ConstrainClippingRegion(&region);
/haiku/src/apps/switcher/
H A DLaunchButton.cpp78 // limit clipping region to exclude the blue rect we just drew
82 BRegion region(r);
83 ConstrainClippingRegion(&region);
/haiku/src/apps/cortex/DiagramView/
H A DDiagramBox.cpp122 /*! Prepares the drawing stack and clipping region, then
133 BRegion region, clipping; local
134 region.Include(Frame());
136 region.Exclude(&clipping);
137 view()->ConstrainClippingRegion(&region);
141 if (region.Intersects(item->Frame()))
145 BRegion region, clipping; local
146 region.Include(Frame());
148 region.Exclude(&clipping);
152 if (region
[all...]
H A DDiagramEndPoint.cpp102 BRegion region; local
103 region.Include(Frame() & updateRect);
104 view()->ConstrainClippingRegion(&region);

Completed in 109 milliseconds

123456