Pyrogenesis
13997
|
Made to represent a screen size, should in philosophy be made of unsigned ints, but for the sake of compatibility with CRect and CPos it's not. More...
#include <Overlay.h>
Public Member Functions | |
CSize () | |
CSize (const CRect &rect) | |
CSize (const CPos &pos) | |
CSize (const float &_cx, const float &_cy) | |
CSize & | operator= (const CSize &a) |
bool | operator== (const CSize &a) const |
bool | operator!= (const CSize &a) const |
CSize | operator- (void) const |
CSize | operator+ (void) const |
CSize | operator+ (const CSize &a) const |
CSize | operator- (const CSize &a) const |
CSize | operator/ (const float &a) const |
CSize | operator* (const float &a) const |
void | operator+= (const CSize &a) |
void | operator-= (const CSize &a) |
void | operator/= (const float &a) |
void | operator*= (const float &a) |
Public Attributes | |
float | cx |
Size. More... | |
float | cy |
Made to represent a screen size, should in philosophy be made of unsigned ints, but for the sake of compatibility with CRect and CPos it's not.
CSize::CSize | ( | ) |
Definition at line 385 of file Overlay.cpp.
CSize::CSize | ( | const CRect & | rect | ) |
Definition at line 389 of file Overlay.cpp.
CSize::CSize | ( | const CPos & | pos | ) |
Definition at line 393 of file Overlay.cpp.
CSize::CSize | ( | const float & | _cx, |
const float & | _cy | ||
) |
Definition at line 397 of file Overlay.cpp.
bool CSize::operator!= | ( | const CSize & | a | ) | const |
Definition at line 416 of file Overlay.cpp.
CSize CSize::operator* | ( | const float & | a | ) | const |
Definition at line 452 of file Overlay.cpp.
void CSize::operator*= | ( | const float & | a | ) |
Definition at line 479 of file Overlay.cpp.
CSize CSize::operator+ | ( | void | ) | const |
Definition at line 428 of file Overlay.cpp.
Definition at line 434 of file Overlay.cpp.
void CSize::operator+= | ( | const CSize & | a | ) |
Definition at line 458 of file Overlay.cpp.
CSize CSize::operator- | ( | void | ) | const |
Definition at line 422 of file Overlay.cpp.
Definition at line 440 of file Overlay.cpp.
void CSize::operator-= | ( | const CSize & | a | ) |
Definition at line 465 of file Overlay.cpp.
CSize CSize::operator/ | ( | const float & | a | ) | const |
Definition at line 446 of file Overlay.cpp.
void CSize::operator/= | ( | const float & | a | ) |
Definition at line 472 of file Overlay.cpp.
Definition at line 402 of file Overlay.cpp.
bool CSize::operator== | ( | const CSize & | a | ) | const |
Definition at line 410 of file Overlay.cpp.