#include <SkSize.h>
|
void | set (int32_t w, int32_t h) |
|
bool | isZero () const |
| Returns true iff fWidth == 0 && fHeight == 0. More...
|
|
bool | isEmpty () const |
| Returns true if either width or height are <= 0. More...
|
|
void | setEmpty () |
| Set the width and height to 0. More...
|
|
constexpr int32_t | width () const |
|
constexpr int32_t | height () const |
|
constexpr int64_t | area () const |
|
bool | equals (int32_t w, int32_t h) const |
|
◆ area()
constexpr int64_t SkISize::area |
( |
| ) |
const |
|
inlineconstexpr |
◆ equals()
bool SkISize::equals |
( |
int32_t |
w, |
|
|
int32_t |
h |
|
) |
| const |
|
inline |
◆ height()
constexpr int32_t SkISize::height |
( |
| ) |
const |
|
inlineconstexpr |
◆ isEmpty()
bool SkISize::isEmpty |
( |
| ) |
const |
|
inline |
Returns true if either width or height are <= 0.
◆ isZero()
bool SkISize::isZero |
( |
| ) |
const |
|
inline |
Returns true iff fWidth == 0 && fHeight == 0.
◆ Make()
static constexpr SkISize SkISize::Make |
( |
int32_t |
w, |
|
|
int32_t |
h |
|
) |
| |
|
inlinestaticconstexpr |
◆ MakeEmpty()
static constexpr SkISize SkISize::MakeEmpty |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ set()
void SkISize::set |
( |
int32_t |
w, |
|
|
int32_t |
h |
|
) |
| |
|
inline |
◆ setEmpty()
void SkISize::setEmpty |
( |
| ) |
|
|
inline |
Set the width and height to 0.
◆ width()
constexpr int32_t SkISize::width |
( |
| ) |
const |
|
inlineconstexpr |
◆ fHeight
◆ fWidth
The documentation for this struct was generated from the following file: