|
|
using | size_type = std::size_t |
| |
|
using | size_reference = size_type & |
| |
|
using | area_type = std::size_t |
| |
|
|
template<typename WidthT , typename HeightT , typename = std::enable_if_t< std::is_arithmetic<WidthT>::value && std::is_arithmetic<HeightT>::value >> |
| constexpr | FSize (WidthT, HeightT) noexcept |
| |
|
constexpr | FSize (const FSize &) noexcept=default |
| |
|
constexpr | FSize (FSize &&) noexcept=default |
| |
|
constexpr auto | operator= (const FSize &) noexcept -> FSize &=default |
| |
|
constexpr auto | operator= (FSize &&) noexcept -> FSize &=default |
| |
|
auto | operator+= (const FSize &) noexcept -> FSize & |
| |
|
auto | operator-= (const FSize &) noexcept -> FSize & |
| |
|
auto | getClassName () const -> FString |
| |
|
constexpr auto | getWidth () const noexcept -> size_type |
| |
|
constexpr auto | getHeight () const noexcept -> size_type |
| |
|
constexpr auto | getArea () const noexcept -> area_type |
| |
|
constexpr void | setWidth (size_type) noexcept |
| |
|
constexpr void | setHeight (size_type) noexcept |
| |
|
constexpr void | setSize (const FSize &) noexcept |
| |
|
constexpr void | setSize (size_type, size_type) noexcept |
| |
|
constexpr auto | isEmpty () const noexcept -> bool |
| |
|
constexpr auto | width_ref () &noexcept -> size_reference |
| |
|
constexpr auto | height_ref () &noexcept -> size_reference |
| |
|
void | scaleBy (int, int) noexcept |
| |
|
void | scaleBy (const FPoint &) noexcept |
| |
|
constexpr void | swap (FSize &) noexcept |
| |
|
|
constexpr auto | operator< (const FSize &s1, const FSize &s2) -> bool |
| |
|
constexpr auto | operator<= (const FSize &s1, const FSize &s2) -> bool |
| |
|
constexpr auto | operator== (const FSize &s1, const FSize &s2) -> bool |
| |
|
constexpr auto | operator!= (const FSize &s1, const FSize &s2) -> bool |
| |
|
constexpr auto | operator>= (const FSize &s1, const FSize &s2) -> bool |
| |
|
constexpr auto | operator> (const FSize &s1, const FSize &s2) -> bool |
| |
|
constexpr auto | operator+ (const FSize &s1, const FSize &s2) -> FSize |
| |
|
constexpr auto | operator- (const FSize &s1, const FSize &s2) -> FSize |
| |
|
auto | operator<< (std::ostream &outstr, const FSize &s) -> std::ostream & |
| |
|
auto | operator>> (std::istream &instr, FSize &s) -> std::istream & |
| |
The documentation for this class was generated from the following files:
- final/util/fsize.h
- final/util/fsize.cpp