Lines Matching defs:Rect
29 struct Rect struct
51 Rect() in Rect() function
67 Rect(f32 l, f32 t, f32 r, f32 b) in Rect() function
78 Rect(const Rect& v) in Rect() argument
89 ~Rect() {} in ~Rect() argument
102 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()
137 void SetHeight(f32 height) { bottom = top + height; } in SetHeight()
145 void MoveTo(f32 x, f32 y) in MoveTo()
159 void Move(f32 dx, f32 dy) in Move()
175 void SetOriginAndSize(f32 x, f32 y, f32 width, f32 height ) in SetOriginAndSize()
188 void Normalize() in Normalize()