|
SIV3D_NODISCARD_CXX20 | Quad ()=default |
|
constexpr SIV3D_NODISCARD_CXX20 | Quad (value_type x0, value_type y0, value_type x1, value_type y1, value_type x2, value_type y2, value_type x3, value_type y3) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | Quad (const position_type &_p0, const position_type &_p1, const position_type &_p2, const position_type &_p3) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | Quad (const Rect &rect) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | Quad (const RectF &rect) noexcept |
|
constexpr Quad & | set (value_type x0, value_type y0, value_type x1, value_type y1, value_type x2, value_type y2, value_type x3, value_type y3) noexcept |
|
constexpr Quad & | set (const position_type &_p0, const position_type &_p1, const position_type &_p2, const position_type &_p3) noexcept |
|
constexpr Quad & | set (const Quad &quad) noexcept |
|
constexpr Quad | movedBy (value_type x, value_type y) const noexcept |
|
constexpr Quad | movedBy (position_type v) const noexcept |
|
constexpr Quad & | moveBy (value_type x, value_type y) noexcept |
|
constexpr Quad & | moveBy (position_type v) noexcept |
|
Quad | stretched (value_type size) const noexcept |
|
Quad | rotatedAt (value_type x, value_type y, value_type angle) const noexcept |
|
Quad | rotatedAt (position_type pos, value_type angle) const noexcept |
|
constexpr Quad | scaled (double s) const noexcept |
|
constexpr Quad | scaled (double sx, double sy) const noexcept |
|
constexpr Quad | scaled (Vec2 s) const noexcept |
|
constexpr Quad & | scale (double s) noexcept |
|
constexpr Quad & | scale (double sx, double sy) noexcept |
|
constexpr Quad & | scale (Vec2 s) noexcept |
|
constexpr Quad | scaledAt (Vec2 pos, double s) const noexcept |
|
constexpr Quad | scaledAt (Vec2 pos, double sx, double sy) const noexcept |
|
constexpr Quad | scaledAt (Vec2 pos, Vec2 s) const noexcept |
|
constexpr Quad & | scaleAt (Vec2 pos, double s) noexcept |
|
constexpr Quad & | scaleAt (Vec2 pos, double sx, double sy) noexcept |
|
constexpr Quad & | scaleAt (Vec2 pos, Vec2 s) noexcept |
|
position_type & | p (size_t index) noexcept |
|
const position_type & | p (size_t index) const noexcept |
|
constexpr position_type | point (size_t index) const |
|
constexpr Line | side (size_t index) const |
|
constexpr Triangle | triangle (size_t index) const |
|
constexpr value_type | area () const noexcept |
|
value_type | perimeter () const noexcept |
|
constexpr RectF | boundingRect () const noexcept |
|
Polygon | calculateBuffer (double distance) const |
|
Polygon | calculateRoundBuffer (double distance) const |
|
LineString | outline (CloseRing closeRing=CloseRing::No) const |
|
LineString | outline (double distanceFromOrigin, double length) const |
|
Polygon | asPolygon () const |
|
constexpr Quad | lerp (const Quad &other, double f) const noexcept |
|
size_t | hash () const noexcept |
|
template<class Shape2DType > |
constexpr bool | intersects (const Shape2DType &other) const |
|
template<class Shape2DType > |
Optional< Array< Vec2 > > | intersectsAt (const Shape2DType &other) const |
|
template<class Shape2DType > |
bool | contains (const Shape2DType &other) const |
|
bool | leftClicked () const noexcept |
| 四角形が現在のフレームで左クリックされ始めたかを返します。 More...
|
|
bool | leftPressed () const noexcept |
| 四角形が左クリックされているかを返します。 More...
|
|
bool | leftReleased () const noexcept |
| 現在のフレームで四角形への左クリックが離されたかを返します。 More...
|
|
bool | rightClicked () const noexcept |
| 四角形が現在のフレームで右クリックされ始めたかを返します。 More...
|
|
bool | rightPressed () const noexcept |
| 四角形が右クリックされているかを返します。 More...
|
|
bool | rightReleased () const noexcept |
| 現在のフレームで四角形への右クリックが離されたかを返します。 More...
|
|
bool | mouseOver () const noexcept |
| 四角形上にマウスカーソルがあるかを返します。 More...
|
|
const Quad & | paint (Image &dst, const Color &color) const |
|
const Quad & | overwrite (Image &dst, const Color &color, Antialiased antialiased=Antialiased::Yes) const |
|
const Quad & | paintFrame (Image &dst, int32 thickness, const Color &color) const |
|
const Quad & | overwriteFrame (Image &dst, int32 thickness, const Color &color, Antialiased antialiased=Antialiased::Yes) const |
|
const Quad & | draw (const ColorF &color=Palette::White) const |
|
const Quad & | draw (const ColorF &color0, const ColorF &color1, const ColorF &color2, const ColorF &color3) const |
|
const Quad & | drawFrame (double thickness=1.0, const ColorF &color=Palette::White) const |
|
const Quad & | drawFrame (double innerThickness, double outerThickness, const ColorF &color=Palette::White) const |
|
TexturedQuad | operator() (const Texture &texture) const |
|
TexturedQuad | operator() (const TextureRegion &textureRegion) const |
|