65 virtual inline bool isEmpty()
const;
73 virtual inline bool isValid()
const;
162 MEM_CXX_CLASS_ALLOC_FUNCS(
"GHOST:GHOST_Rect")
231 if (
w - ofs * 2 <= 0 || h - ofs * 2 <= 0) {
236 while (
x - ofs <
l_) {
239 while (
x + ofs >
r_) {
244 while (
y - ofs <
t_) {
247 while (
y + ofs >
b_) {
272 return (
x >=
l_) && (
x <=
r_) && (
y >=
t_) && (
y <=
b_);
ATTR_WARN_UNUSED_RESULT const BMLoop * l
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
virtual bool isEmpty() const
virtual GHOST_TVisibility getVisibility(GHOST_Rect &r) const
virtual void inset(int32_t i)
virtual ~GHOST_Rect()=default
virtual bool isInside(int32_t x, int32_t y) const
virtual bool clip(GHOST_Rect &r) const
virtual void setCenter(int32_t cx, int32_t cy)
virtual void wrapPoint(int32_t &x, int32_t &y, int32_t ofs, GHOST_TAxisFlag axis)
virtual void clampPoint(int32_t &x, int32_t &y)
virtual int32_t getHeight() const
virtual bool isValid() const
virtual void unionRect(const GHOST_Rect &r)
virtual void set(int32_t l, int32_t t, int32_t r, int32_t b)
virtual int32_t getWidth() const
virtual void unionPoint(int32_t x, int32_t y)
GHOST_Rect(int32_t l=0, int32_t t=0, int32_t r=0, int32_t b=0)