尺寸类 更多...
#include <Size.h>
Public 成员函数 | |
| Size (float x=0, float y=0) noexcept | |
| float & | width () noexcept |
| float & | height () noexcept |
| const float & | width () const noexcept |
| const float & | height () const noexcept |
| Size & | operator= (const Size &other) noexcept |
| Size | operator+ (const Size &other) const noexcept |
| Size | operator- (const Size &other) const noexcept |
| Size | operator* (const float &scale) const noexcept |
| Size | operator/ (const float &scale) const noexcept |
| Size & | operator+= (const Size &other) noexcept |
| Size & | operator-= (const Size &other) noexcept |
| Size & | operator*= (const float &scale) noexcept |
| Size & | operator/= (const float &scale) noexcept |
| bool | operator== (const Size &other) const noexcept |
| bool | operator!= (const Size &other) const noexcept |
Public 成员函数 继承自 Object | |
| Object () noexcept | |
| 构造函数 | |
| virtual | ~Object () noexcept |
| 析构函数 | |
尺寸类