Cavestory Mod API
|
Public Member Functions | |
GUI_RECT (NPCHAR *npc) | |
GUI_RECT (int _x, int _y, int _w, int _h) | |
GUI_RECT (GUI_POINT one, int _w, int _h) | |
GUI_RECT (int _x, int _y, GUI_POINT one) | |
GUI_RECT (GUI_POINT one, GUI_POINT two) | |
GUI_RECT (SDL_Rect r) | |
GUI_RECT (RECT r) | |
GUI_RECT (const GUI_RECT &r) | |
GUI_RECT (GUI_RECT *r) | |
void | from_npc (NPCHAR *npc) |
GUI_POINT | get_center () |
bool | operator== (GUI_RECT other) |
bool | operator== (const GUI_RECT other) const |
bool | operator!= (GUI_RECT other) |
GUI_POINT | uncontain_point (GUI_POINT pnt) |
GUI_POINT_F | uncontain_point (GUI_POINT_F pnt) |
GUI_POINT | contain_point (GUI_POINT pnt) |
GUI_POINT_F | contain_point (GUI_POINT_F pnt) |
bool | is_point_bordering (GUI_POINT p) |
GUI_RECT | setX (int NewInt) |
GUI_RECT | setY (int NewInt) |
GUI_RECT | setW (int NewInt) |
GUI_RECT | setH (int NewInt) |
GUI_RECT | pad (int amount) |
Add padding to the rect. | |
GUI_POINT | border (GUI_POINT rel) |
GUI_RECT | to_screenspace () |
GUI_RECT | to_custom (int mag) |
GUI_RECT | from_custom (int mag) |
GUI_RECT | from_screenspace () |
GUI_RECT | to_game_rect () |
RECT | to_rect () |
SDL_Rect | to_sdl_rect () |
GUI_POINT | position () |
GUI_POINT | extent () |
int | left () |
int | right () |
int | top () |
int | bottom () |
int | width () |
int | height () |
bool | pointInRect (const GUI_POINT &pt) const |
bool | contains (const GUI_RECT &R) const |
void | contain (GUI_RECT &other) |
bool | isValidRect () const |
bool | intersect (const GUI_RECT &clipRect) |
bool | overlaps (const GUI_RECT &R) const |
int | HashIndex () |
int | HashIndex () const |
bool | operator< (GUI_RECT other) |
bool | operator<= (GUI_RECT other) |
bool | operator> (GUI_RECT other) |
bool | operator>= (GUI_RECT other) |
bool | operator< (const GUI_RECT other) const |
bool | operator<= (const GUI_RECT other) const |
bool | operator> (const GUI_RECT other) const |
bool | operator>= (const GUI_RECT other) const |
void | operator*= (float iMagnification) |
void | operator/= (float iMagnification) |
void | operator*= (GUI_RECT other) |
void | operator/= (GUI_RECT other) |
GUI_RECT | operator* (float fAmount) |
GUI_RECT | operator/ (float fAmount) |
Static Public Member Functions | |
static GUI_RECT | FromRect (int left, int top, int right, int bottom) |
Public Attributes | |
int | x |
int | y |
int | w |
int | h |