Lines Matching defs:Rect
26 struct Rect struct
47 Rect() in Rect() argument
63 Rect(f32 l, f32 t, f32 r, f32 b) in Rect() argument
74 Rect(const Rect& v) in Rect() argument
85 ~Rect() {} in ~Rect() argument
98 f32 GetWidth() const { return right - left; } in GetWidth()
105 f32 GetHeight() const { return bottom - top; } in GetHeight()
112 f32 GetX() const { return left; } in GetX()
119 f32 GetY() const { return top; } in GetY()
126 void SetWidth(f32 width) { right = left + width; } in SetWidth()
133 void SetHeight(f32 height) { bottom = top + height; } in SetHeight()
141 void MoveTo(f32 x, f32 y) in MoveTo()
155 void Move(f32 dx, f32 dy) in Move()
171 void SetOriginAndSize(f32 x, f32 y, f32 width, f32 height ) in SetOriginAndSize()
184 void Normalize() in Normalize()