Lines Matching refs:f32
32 f32 left; //!< 矩形の左座標です。
33 f32 top; //!< 矩形の上座標です。
34 f32 right; //!< 矩形の右座標です。
35 f32 bottom; //!< 矩形の下座標です。
63 Rect(f32 l, f32 t, f32 r, f32 b) in Rect()
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()
186 const f32 l = left; in Normalize()
187 const f32 t = top; in Normalize()
188 const f32 r = right; in Normalize()
189 const f32 b = bottom; in Normalize()