You.i Engine
YI_RECT_REL Struct Reference

#include <graphics/YiRectangle.h>

Public Member Functions

 YI_RECT_REL ()
 
 YI_RECT_REL (int32_t x, int32_t y, int32_t width, int32_t height)
 
 YI_RECT_REL (const YI_RECT &rect)
 
void Set (int32_t _x, int32_t _y, int32_t _width, int32_t _height)
 
YI_RECT_RELoperator= (const YI_RECT &rect)
 
bool operator< (const YI_RECT_REL &rhs) const
 
bool operator> (const YI_RECT_REL &rhs) const
 
bool operator<= (const YI_RECT_REL &rhs) const
 
bool operator>= (const YI_RECT_REL &rhs) const
 
bool operator== (const YI_RECT_REL &rhs) const
 
bool operator!= (const YI_RECT_REL &rhs) const
 

Public Attributes

int32_t x
 
int32_t y
 
int32_t width
 
int32_t height
 

Constructor & Destructor Documentation

◆ YI_RECT_REL() [1/3]

YI_RECT_REL::YI_RECT_REL ( )

◆ YI_RECT_REL() [2/3]

YI_RECT_REL::YI_RECT_REL ( int32_t  x,
int32_t  y,
int32_t  width,
int32_t  height 
)

◆ YI_RECT_REL() [3/3]

YI_RECT_REL::YI_RECT_REL ( const YI_RECT rect)

Member Function Documentation

◆ operator!=()

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

◆ operator<()

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

◆ operator<=()

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

◆ operator=()

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

◆ operator==()

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

◆ operator>()

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

◆ operator>=()

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

◆ Set()

void YI_RECT_REL::Set ( int32_t  _x,
int32_t  _y,
int32_t  _width,
int32_t  _height 
)

Member Data Documentation

◆ height

int32_t YI_RECT_REL::height

◆ width

int32_t YI_RECT_REL::width

◆ x

int32_t YI_RECT_REL::x

◆ y

int32_t YI_RECT_REL::y

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