![]() |
Flutter Engine
The Flutter Engine
|
#include <size.h>
Public Member Functions | |
constexpr | Size () |
constexpr | Size (int width, int height) |
void | operator+= (const Size &size) |
void | operator-= (const Size &size) |
constexpr int | width () const |
constexpr int | height () const |
void | set_width (int width) |
void | set_height (int height) |
int | GetArea () const |
base::CheckedNumeric< int > | GetCheckedArea () const |
void | SetSize (int width, int height) |
void | Enlarge (int grow_width, int grow_height) |
void | SetToMin (const Size &other) |
void | SetToMax (const Size &other) |
bool | IsEmpty () const |
std::string | ToString () const |
|
inlineconstexpr |
base::CheckedNumeric< int > gfx::Size::GetCheckedArea | ( | ) | const |
|
inlineconstexpr |
|
inline |
void gfx::Size::operator-= | ( | const Size & | size | ) |
|
inline |
|
inline |
void gfx::Size::SetToMax | ( | const Size & | other | ) |
void gfx::Size::SetToMin | ( | const Size & | other | ) |
std::string gfx::Size::ToString | ( | ) | const |
Definition at line 80 of file size.cc.
|
inlineconstexpr |