|
constexpr | RectF ()=default |
|
constexpr | RectF (float width, float height) |
|
constexpr | RectF (float x, float y, float width, float height) |
|
constexpr | RectF (const SizeF &size) |
|
constexpr | RectF (const PointF &origin, const SizeF &size) |
|
constexpr | RectF (const Rect &r) |
|
constexpr float | x () const |
|
void | set_x (float x) |
|
constexpr float | y () const |
|
void | set_y (float y) |
|
constexpr float | width () const |
|
void | set_width (float width) |
|
constexpr float | height () const |
|
void | set_height (float height) |
|
constexpr const PointF & | origin () const |
|
void | set_origin (const PointF &origin) |
|
constexpr const SizeF & | size () const |
|
void | set_size (const SizeF &size) |
|
constexpr float | right () const |
|
constexpr float | bottom () const |
|
constexpr PointF | top_right () const |
|
constexpr PointF | bottom_left () const |
|
constexpr PointF | bottom_right () const |
|
constexpr PointF | left_center () const |
|
constexpr PointF | top_center () const |
|
constexpr PointF | right_center () const |
|
constexpr PointF | bottom_center () const |
|
Vector2dF | OffsetFromOrigin () const |
|
void | SetRect (float x, float y, float width, float height) |
|
void | Inset (float horizontal, float vertical) |
|
void | Inset (const InsetsF &insets) |
|
void | Inset (float left, float top, float right, float bottom) |
|
void | Offset (float horizontal, float vertical) |
|
void | Offset (const Vector2dF &distance) |
|
void | operator+= (const Vector2dF &offset) |
|
void | operator-= (const Vector2dF &offset) |
|
InsetsF | InsetsFrom (const RectF &inner) const |
|
bool | IsEmpty () const |
|
bool | operator< (const RectF &other) const |
|
bool | Contains (float point_x, float point_y) const |
|
bool | Contains (const PointF &point) const |
|
bool | Contains (const RectF &rect) const |
|
bool | Intersects (const RectF &rect) const |
|
void | Intersect (const RectF &rect) |
|
void | Union (const RectF &rect) |
|
void | Subtract (const RectF &rect) |
|
void | AdjustToFit (const RectF &rect) |
|
PointF | CenterPoint () const |
|
void | ClampToCenteredSize (const SizeF &size) |
|
void | Transpose () |
|
void | SplitVertically (RectF *left_half, RectF *right_half) const |
|
bool | SharesEdgeWith (const RectF &rect) const |
|
float | ManhattanDistanceToPoint (const PointF &point) const |
|
float | ManhattanInternalDistance (const RectF &rect) const |
|
void | Scale (float scale) |
|
void | Scale (float x_scale, float y_scale) |
|
bool | IsExpressibleAsRect () const |
|
std::string | ToString () const |
|
Definition at line 26 of file rect_f.h.