81 BRect (
int left,
int top,
int width,
int height);
86 bool IsEmpty ()
const;
88 bool IsValid ()
const;
93 BRect Normalized ()
const;
105 void SetLeft (
int pos);
107 void SetTop (
int pos);
109 void SetRight (
int pos);
111 void SetBottom (
int pos);
114 void SetTopLeft (
const BPoint &p);
116 void SetBottomRight (
const BPoint &p);
118 void SetTopRight (
const BPoint &p);
120 void SetBottomLeft (
const BPoint &p);
125 BPoint BottomRight ()
const;
129 BPoint BottomLeft ()
const;
136 void SetWidth (
int w);
138 void SetHeight (
int h);
140 void SetSize (
const BSize &s);
143 void MoveLeft (
int pos);
145 void MoveTop (
int pos);
147 void MoveRight (
int pos);
149 void MoveBottom (
int pos);
151 void MoveTopLeft (
const BPoint &p);
153 void MoveBottomRight (
const BPoint &p);
155 void MoveTopRight (
const BPoint &p);
157 void MoveBottomLeft (
const BPoint &p);
159 void MoveCenter (
const BPoint &p);
162 void MoveTo (
int x,
int y);
164 void MoveTo (
const BPoint &p);
170 void Translate (
int dx,
int dy);
174 void Translate (
const BPoint &p);
179 BRect Translated (
int dx,
int dy)
const;
186 void SetRect (
int x,
int y,
int w,
int h);
188 void GetRect (
int *x,
int *y,
int *w,
int *h)
const;
191 void SetCoords (
int ox,
int oy,
int cx,
int cy);
193 void GetCoords (
int *ox,
int *oy,
int *cx,
int *cy)
const;
196 void Adjust (
int ox,
int oy,
int cx,
int cy);
198 BRect Adjusted (
int ox,
int oy,
int cx,
int cy)
const;
204 bool Contains (
const BPoint &p,
bool proper =
false)
const;
209 bool Contains (
int x,
int y,
bool proper =
false)
const;
214 bool Contains (
const BRect &r,
bool proper =
false)
const;
228 bool Intersects (
const BRect &r)
const;
bool operator==(const BRect &r1, const BRect &r2)
BRect - Operator overload for == (equality test).
Definition: BRect.h:252
BPoint TopLeft() const
Retrieves the origin X and Y.
The BRect class defines a rectangle using integer precision.
Definition: BRect.h:71
DgnECHostType operator|(DgnECHostType a, DgnECHostType b)
Definition: DgnECInstance.h:92
The BPoint class defines a point in the plane using integer precision.
Definition: BPoint.h:34
The BSize class defines the size of a two - dimensional object using integer point precision...
Definition: BSize.h:38
#define BEGIN_BENTLEY_UIFRAMEWORK_NAMESPACE
Definition: UIFramework.h:14
#define DLLEXPORT
Definition: basedefs.h:137
#define END_BENTLEY_UIFRAMEWORK_NAMESPACE
Definition: UIFramework.h:15
Curve's middle point or arc's center.
DgnECHostType operator&(DgnECHostType a, DgnECHostType b)
Definition: DgnECInstance.h:92
BPoint BottomRight() const
Retrieves the corner X and Y.
size_type size() const
Definition: stdcxx/bstdmap.h:214
bool operator!=(const BRect &r1, const BRect &r2)
BRect - Operator overload for != (not equal test).
Definition: BRect.h:258
Integer x,y rectangle coordinates for GUI: BSIRect.