You.i Engine
YI_RECT Struct Reference

#include <graphics/YiRectangle.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< (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
 
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/3]

YI_RECT::YI_RECT ( )

◆ YI_RECT() [2/3]

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

◆ YI_RECT() [3/3]

YI_RECT::YI_RECT ( const YI_RECT_REL rect)

Member Function Documentation

◆ operator!=()

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

◆ operator<()

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

◆ operator<=()

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

◆ operator=()

YI_RECT& YI_RECT::operator= ( const YI_RECT_REL rect)

◆ operator==()

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

◆ operator>()

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

◆ operator>=()

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

◆ Set()

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

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: