Lines Matching defs:Rect
31 struct Rect struct
53 Rect() in Rect() argument
69 Rect(f32 l, f32 t, f32 r, f32 b) in Rect() argument
80 Rect(const Rect& v) in Rect() argument
91 ~Rect() {} in ~Rect() argument
104 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()
139 void SetHeight(f32 height) { bottom = top + height; } in SetHeight()
147 void MoveTo(f32 x, f32 y) in MoveTo()
161 void Move(f32 dx, f32 dy) in Move()
177 void SetOriginAndSize(f32 x, f32 y, f32 width, f32 height ) in SetOriginAndSize()
190 void Normalize() in Normalize()