DGLE2   Young, strong and crazy!
Public Member Functions | Public Attributes | List of all members
TRectF Struct Reference

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
 

Detailed Description

Describes 2D rectangle by float values.

Constructor & Destructor Documentation

TRectF ( )
inline
TRectF ( float  fX,
float  fY,
float  fWidth,
float  fHeight 
)
inline
TRectF ( const TPoint2 stLeftTop,
const TPoint2 stRightBottom 
)
inline

Member Function Documentation

TRectF GetIntersectionRect ( const TRectF stRect) const
inline
bool IntersectRect ( const TRectF stRect) const
inline
bool PointInRect ( const TPoint2 stPoint) const
inline
bool RectInRect ( const TRectF stRect) const
inline

Member Data Documentation

float height
float width
float x
float y

Sun Nov 16 2014 09:47:30   Generated by   doxygen   Content copyrighted to DGLE Team