65 virtual inline bool isEmpty()
const;
73 virtual inline bool isValid()
const;
162#ifdef WITH_CXX_GUARDEDALLOC
163 MEM_CXX_CLASS_ALLOC_FUNCS(
"GHOST:GHOST_Rect")
233 if (
w - ofs * 2 <= 0 || h - ofs * 2 <= 0) {
238 while (x - ofs <
m_l) {
241 while (x + ofs >
m_r) {
246 while (y - ofs <
m_t) {
249 while (y + ofs >
m_b) {
274 return (x >=
m_l) && (x <=
m_r) && (y >=
m_t) && (y <=
m_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 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)
local_group_size(16, 16) .push_constant(Type b