Describes 2D rectangle by float values. More...
#include <DGLE_Types.h>
Public Member Functions | |
TRectF () | |
TRectF (float fX, float fY, float fWidth, float fHeight) | |
TRectF (const TPoint2 &stLeftTop, const TPoint2 &stRightBottom) | |
bool | IntersectRect (const TRectF &stRect) const |
bool | PointInRect (const TPoint2 &stPoint) const |
bool | RectInRect (const TRectF &stRect) const |
TRectF | GetIntersectionRect (const TRectF &stRect) const |
Public Attributes | |
float | x |
float | y |
float | width |
float | height |
Describes 2D rectangle by float values.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
float height |
float width |
float x |
float y |