Searched defs:Rect (Results 1 – 3 of 3) sorted by relevance
31 struct Rect struct53 Rect() in Rect() argument69 Rect(f32 l, f32 t, f32 r, f32 b) in Rect() argument80 Rect(const Rect& v) in Rect() argument91 ~Rect() {} in ~Rect() argument104 f32 GetWidth() const { return right - left; } in GetWidth()111 f32 GetHeight() const { return bottom - top; } in GetHeight()118 f32 GetX() const { return left; } in GetX()125 f32 GetY() const { return top; } in GetY()132 void SetWidth(f32 width) { right = left + width; } in SetWidth()[all …]
39 struct Rect struct41 f32 x, y, w, h;43 const math::VEC2& Position() const in Position()48 const nw::lyt::Size& Size() const in Size()
111 operator nw::ut::Rect() const in Rect() function