You.i Engine
YI_RECT Struct Reference

#include <framework/YiPredef.h>

Public Member Functions

 YI_RECT ()
 
 YI_RECT (int32_t left, int32_t top, int32_t right, int32_t bottom)
 
 YI_RECT (const YI_RECT_REL &rect)
 
void Set (int32_t _left, int32_t _top, int32_t _right, int32_t _bottom)
 
YI_RECToperator= (const YI_RECT_REL &rect)
 
bool operator< (YI_RECT const &other) const
 
bool operator> (const YI_RECT &rhs) const
 
bool operator<= (const YI_RECT &rhs) const
 
bool operator>= (const YI_RECT &rhs) const
 
bool operator== (const YI_RECT &rhs) const
 
bool operator!= (const YI_RECT &rhs) const
 

Public Attributes

int32_t left
 
int32_t top
 
int32_t right
 
int32_t bottom
 

Constructor & Destructor Documentation

◆ YI_RECT() [1/2]

YI_RECT::YI_RECT ( )
inline

◆ YI_RECT() [2/2]

YI_RECT::YI_RECT ( int32_t  left,
int32_t  top,
int32_t  right,
int32_t  bottom 
)
inline

Member Function Documentation

◆ operator!=()

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

◆ operator<()

bool YI_RECT::operator< ( YI_RECT const &  other) const
inline

◆ operator<=()

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

◆ operator==()

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

◆ operator>()

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

◆ operator>=()

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

◆ Set()

void YI_RECT::Set ( int32_t  _left,
int32_t  _top,
int32_t  _right,
int32_t  _bottom 
)
inline

Member Data Documentation

◆ bottom

int32_t YI_RECT::bottom

◆ left

int32_t YI_RECT::left

◆ right

int32_t YI_RECT::right

◆ top

int32_t YI_RECT::top

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