You.i Engine
YI_FLOAT_RECT Struct Reference

#include <framework/YiPredef.h>

Public Member Functions

 YI_FLOAT_RECT ()
 
 YI_FLOAT_RECT (float left, float top, float right, float bottom)
 
 YI_FLOAT_RECT (const YI_FLOAT_RECT_REL &rect)
 
 YI_FLOAT_RECT (const YI_RECT &rect)
 
void Set (float _left, float _top, float _right, float _bottom)
 
YI_FLOAT_RECToperator= (const YI_FLOAT_RECT_REL &rect)
 
YI_FLOAT_RECToperator= (const YI_RECT &rect)
 
bool operator< (const YI_FLOAT_RECT &rhs) const
 
bool operator> (const YI_FLOAT_RECT &rhs) const
 
bool operator<= (const YI_FLOAT_RECT &rhs) const
 
bool operator>= (const YI_FLOAT_RECT &rhs) const
 
bool operator== (const YI_FLOAT_RECT &rhs) const
 
bool operator!= (const YI_FLOAT_RECT &rhs) const
 

Public Attributes

float left
 
float top
 
float right
 
float bottom
 

Constructor & Destructor Documentation

◆ YI_FLOAT_RECT() [1/3]

YI_FLOAT_RECT::YI_FLOAT_RECT ( )
inline

◆ YI_FLOAT_RECT() [2/3]

YI_FLOAT_RECT::YI_FLOAT_RECT ( float  left,
float  top,
float  right,
float  bottom 
)
inline

◆ YI_FLOAT_RECT() [3/3]

YI_FLOAT_RECT::YI_FLOAT_RECT ( const YI_RECT rect)
inlineexplicit

Member Function Documentation

◆ operator!=()

bool YI_FLOAT_RECT::operator!= ( const YI_FLOAT_RECT rhs) const
inline

◆ operator<()

bool YI_FLOAT_RECT::operator< ( const YI_FLOAT_RECT rhs) const
inline

◆ operator<=()

bool YI_FLOAT_RECT::operator<= ( const YI_FLOAT_RECT rhs) const
inline

◆ operator=()

YI_FLOAT_RECT& YI_FLOAT_RECT::operator= ( const YI_RECT rect)
inline

◆ operator==()

bool YI_FLOAT_RECT::operator== ( const YI_FLOAT_RECT rhs) const
inline

◆ operator>()

bool YI_FLOAT_RECT::operator> ( const YI_FLOAT_RECT rhs) const
inline

◆ operator>=()

bool YI_FLOAT_RECT::operator>= ( const YI_FLOAT_RECT rhs) const
inline

◆ Set()

void YI_FLOAT_RECT::Set ( float  _left,
float  _top,
float  _right,
float  _bottom 
)
inline

Member Data Documentation

◆ bottom

float YI_FLOAT_RECT::bottom

◆ left

float YI_FLOAT_RECT::left

◆ right

float YI_FLOAT_RECT::right

◆ top

float YI_FLOAT_RECT::top

The documentation for this struct was generated from the following file: