Flutter Engine
The Flutter Engine
|
#include <size.h>
Public Types | |
using | Type = T |
Public Member Functions | |
constexpr | TSize () |
constexpr | TSize (Type width, Type height) |
template<class U > | |
constexpr | TSize (const TSize< U > &other) |
constexpr TSize | operator* (Scalar scale) const |
constexpr TSize | operator/ (Scalar scale) const |
constexpr TSize | operator/ (const TSize &s) const |
constexpr bool | operator== (const TSize &s) const |
constexpr bool | operator!= (const TSize &s) const |
constexpr TSize | operator+ (const TSize &s) const |
constexpr TSize | operator- (const TSize &s) const |
constexpr TSize | operator- () const |
constexpr TSize | Min (const TSize &o) const |
constexpr TSize | Max (const TSize &o) const |
constexpr Type | MaxDimension () const |
constexpr TSize | Abs () const |
constexpr TSize | Floor () const |
constexpr TSize | Ceil () const |
constexpr TSize | Round () const |
constexpr Type | Area () const |
constexpr bool | IsEmpty () const |
Returns true if either of the width or height are 0, negative, or NaN. More... | |
constexpr bool | IsSquare () const |
constexpr size_t | MipCount () const |
Static Public Member Functions | |
static constexpr TSize | MakeWH (Type width, Type height) |
static constexpr TSize | Infinite () |
template<class U > | |
static constexpr TSize | Ceil (const TSize< U > &other) |
Public Attributes | |
Type | width = {} |
Type | height = {} |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
Definition at line 30 of file size.h.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 115 of file size.h.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |