|
LIBEUNOMIA
|
長方形の別表現 [詳解]
#include <rect.h>
公開メンバ関数 | |
| AnotherRect ()=default | |
| constexpr | AnotherRect (int xx, int yy, int w, int h) noexcept |
| constexpr | AnotherRect (const Rect &r) noexcept |
| constexpr | operator bool () const noexcept |
| constexpr | operator Rect () const noexcept |
公開変数類 | |
| int | x |
| (左端の)X座標 | |
| int | y |
| (上端の)Y座標 | |
| int | width |
| 幅 | |
| int | height |
| 高さ | |
長方形の別表現
|
default |
|
inlineconstexprnoexcept |
| int eunomia::AnotherRect::height |
高さ
| int eunomia::AnotherRect::width |
幅
| int eunomia::AnotherRect::x |
(左端の)X座標
| int eunomia::AnotherRect::y |
(上端の)Y座標