Searched defs:Rect (Results 1 – 3 of 3) sorted by relevance
29 struct Rect struct51 Rect() in Rect() argument67 Rect(f32 l, f32 t, f32 r, f32 b) in Rect() argument78 Rect(const Rect& v) in Rect() function89 ~Rect() {} in ~Rect() argument102 f32 GetWidth() const { return right - left; } in GetWidth()109 f32 GetHeight() const { return bottom - top; } in GetHeight()116 f32 GetX() const { return left; } in GetX()123 f32 GetY() const { return top; } in GetY()130 void SetWidth(f32 width) { right = left + width; } in SetWidth()[all …]
37 struct Rect struct39 f32 x, y, w, h;41 const math::VEC2& Position() const in Position()46 const nw::lyt::Size& Size() const in Size()
109 operator nw::ut::Rect() const in Rect() function