Searched refs:BRegion (Results 1 - 25 of 184) sorted by relevance

12345678

/haiku/src/tests/kits/interface/bregion/
H A DRegionExclude.h4 This file defines a class for performing one test of BRegion
21 void CheckExclude(BRegion *, BRegion *, BRegion *);
24 virtual void testOneRegion(BRegion *);
25 virtual void testTwoRegions(BRegion *, BRegion *);
H A DRegionInclude.h4 This file defines a class for performing one test of BRegion
21 void CheckInclude(BRegion *, BRegion *, BRegion *);
24 virtual void testOneRegion(BRegion *);
25 virtual void testTwoRegions(BRegion *, BRegion *);
H A DRegionIntersect.h4 This file defines a class for performing one test of BRegion
21 void CheckIntersect(BRegion *, BRegion *, BRegion *);
24 virtual void testOneRegion(BRegion *);
25 virtual void testTwoRegions(BRegion *, BRegion *);
H A DRegionTestcase.h4 This file defines a base class for performing all tests of BRegion
20 class BRegion;
34 void CheckFrame(BRegion *);
35 bool RegionsAreEqual(BRegion *, BRegion *);
36 bool RegionIsEmpty(BRegion *);
38 virtual void testOneRegion(BRegion *) = 0;
39 virtual void testTwoRegions(BRegion *, BRegion *) = 0;
H A DRegionConstruction.h4 This file defines a class for performing one test of BRegion
24 virtual void testOneRegion(BRegion *);
25 virtual void testTwoRegions(BRegion *, BRegion *);
H A DRegionOffsetBy.h4 This file defines a class for performing one test of BRegion
24 virtual void testOneRegion(BRegion *);
25 virtual void testTwoRegions(BRegion *, BRegion *);
H A DRegionTestcase.cpp5 BRegion code.
61 // A test to see if our BRegion can handle non integers
89 listOfRegions.AddItem(new BRegion);
91 BRegion *tempRegion = new BRegion;
111 delete static_cast<BRegion *>(listOfRegions.RemoveItem(int32(0)));
156 * Descr: This member function checks that the BRegion's frame matches
160 void RegionTestcase::CheckFrame(BRegion *theRegion)
183 * Descr: This member function returns true if the two BRegion's passed
187 bool RegionTestcase::RegionsAreEqual(BRegion *region
[all...]
H A DRegionConstruction.cpp4 This file implements the construction test for the Haiku BRegion
44 void RegionConstruction::testOneRegion(BRegion *testRegion)
49 BRegion tempRegion1(*testRegion);
67 BRegion tempRegion2(testRegion->RectAt(0));
71 BRegion tempRegion3;
94 void RegionConstruction::testTwoRegions(BRegion *testRegionA, BRegion *testRegionB)
96 BRegion tempRegion1;
125 return(new RegionConstructionCaller("BRegion::Construction Test", &RegionConstruction::PerformTest));
/haiku/src/servers/app/
H A DRegionPool.h14 class BRegion;
23 BRegion* GetRegion();
24 BRegion* GetRegion(const BRegion& other);
25 void Recycle(BRegion* region);
H A DRegionPool.cpp39 delete (BRegion*)fAvailable.ItemAtFast(i);
43 BRegion*
46 BRegion* region = (BRegion*)fAvailable.RemoveItem(
49 region = new (nothrow) BRegion();
63 BRegion*
64 RegionPool::GetRegion(const BRegion& other)
66 BRegion* region;
69 region = (BRegion*)fAvailable.RemoveItem(count - 1);
72 region = new (nothrow) BRegion(othe
[all...]
H A DWindow.h116 void SetClipping(BRegion* stillAvailableOnScreen);
118 inline BRegion& VisibleRegion() { return fVisibleRegion; }
119 BRegion& VisibleContentRegion();
123 void GetFullRegion(BRegion* region);
124 void GetBorderRegion(BRegion* region);
125 void GetContentRegion(BRegion* region);
129 BRegion* dirtyRegion,
132 BRegion* dirtyRegion);
143 BRegion& region);
147 void ProcessDirtyRegion(const BRegion
[all...]
/haiku/headers/private/interface/
H A DRegionSupport.h54 class BRegion::Support {
56 static int XUnionRegion(const BRegion* reg1,
57 const BRegion* reg2, BRegion* newReg);
59 static int XIntersectRegion(const BRegion* reg1,
60 const BRegion* reg2, BRegion* newReg);
62 static int XSubtractRegion(const BRegion* regM,
63 const BRegion* regS, BRegion* reg
[all...]
/haiku/src/tests/servers/app/newerClipping/
H A DWindowLayer.h35 void Include(BRegion* additionalDirty);
36 void Exclude(BRegion* dirtyInNextSession);
38 inline BRegion& DirtyRegion()
50 BRegion fDirtyRegion;
67 void SetClipping(BRegion* stillAvailableOnScreen);
68 inline BRegion& VisibleRegion()
70 BRegion& VisibleContentRegion();
72 void GetFullRegion(BRegion* region) const;
73 void GetBorderRegion(BRegion* region);
74 void GetContentRegion(BRegion* regio
[all...]
H A DViewLayer.h54 BRegion* windowContentClipping);
59 void ConvertToParent(BRegion* region) const;
63 void ConvertFromParent(BRegion* region) const;
67 void ConvertToTop(BRegion* region) const;
71 void ConvertFromTop(BRegion* region) const;
79 BRegion* dirtyRegion);
82 BRegion* dirtyRegion);
85 BRegion* dirtyRegion);
88 BRegion* dirtyRegion);
92 BRegion* effectiveClippin
[all...]
H A DDesktop.h50 void SetMasterClipping(BRegion* clipping);
92 void MarkDirty(BRegion* region);
97 BRegion& BackgroundRegion()
103 void _RebuildClippingForAllWindows(BRegion* stillAvailableOnScreen);
104 void _TriggerWindowRedrawing(BRegion* newDirtyRegion);
105 void _SetBackground(BRegion* background);
120 BRegion fBackgroundRegion;
122 BRegion fMasterClipping;
/haiku/src/kits/interface/
H A DRegion.cpp25 BRegion::BRegion() function in class:BRegion
36 BRegion::BRegion(const BRegion& other) function in class:BRegion
47 BRegion::BRegion(const BRect rect) function in class:BRegion
63 BRegion::BRegion(const clipping_rect& clipping) function in class:BRegion
73 BRegion
[all...]
H A DRegionSupport.cpp50 * The functions in this file implement the BRegion* abstraction, similar to one
51 * used in the X11 sample server. A BRegion* is simply an area, as the name
53 * explain: Each BRegion* is made up of a certain number of rectangles sorted
143 /* add a rectangle to the given BRegion */
159 /* add a rectangle to the given BRegion */
185 BRegion*
186 BRegion::Support::CreateRegion(void)
188 return new (nothrow) BRegion();
192 BRegion::Support::DestroyRegion(BRegion*
[all...]
/haiku/headers/os/interface/
H A DRegion.h27 class BRegion { class
29 BRegion();
30 BRegion(const BRegion& other);
31 BRegion(const BRect rect);
32 virtual ~BRegion();
34 BRegion& operator=(const BRegion& other);
35 bool operator==(const BRegion& other) const;
69 void Include(const BRegion* regio
[all...]
/haiku/src/tests/servers/app/newClipping/
H A DLayer.h29 void Invalidate( const BRegion &invalid,
41 void RebuildVisibleRegions( const BRegion &invalid,
44 void ConvertToScreen2(BRegion* reg) const;
48 BRegion* Visible() { return &fVisible; }
49 BRegion* FullVisible() { return &fFullVisible; }
50 void GetWantedRegion(BRegion &reg);
63 void rebuild_visible_regions(const BRegion &invalid,
64 const BRegion &parentLocalVisible,
70 virtual bool alter_visible_for_children(BRegion &region);
71 virtual void get_user_regions(BRegion
[all...]
H A DWinBorder.h16 virtual bool alter_visible_for_children(BRegion &region);
17 virtual void get_user_regions(BRegion &reg);
19 BRegion fDecRegion;
/haiku/src/tests/servers/app/newerClipping/drawing/
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);
36 BRegion fCurrentClipping;
H A DDirectWindowBuffer.h23 BRegion& WindowClipping()
32 BRegion fWindowClipping;
/haiku/headers/os/add-ons/input_server/
H A DInputServerFilter.h12 class BRegion;
24 status_t GetScreenRegion(BRegion* region) const;
/haiku/src/servers/app/decorator/
H A DDecorator.h32 class BRegion;
113 BRegion* updateRegion = NULL);
115 BRegion* updateRegion = NULL);
117 BRegion* updateRegion = NULL);
131 BRegion* updateRegion = NULL);
133 BRegion* updateRegion = NULL);
139 BRegion* updateRegion = NULL);
141 BRegion* updateRegion = NULL);
158 BRegion* updateRegion = NULL);
167 BRegion* updateRegio
[all...]
/haiku/src/servers/input/
H A DInputServerFilter.cpp87 BInputServerFilter::GetScreenRegion(BRegion *region) const
92 *region = BRegion(((InputServer*)be_app)->ScreenFrame());

Completed in 77 milliseconds

12345678