#include <SkSize.h>
Definition at line 16 of file SkSize.h.
◆ area()
constexpr int64_t SkISize::area |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 39 of file SkSize.h.
constexpr int64_t SkToS64(S x)
◆ 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
Definition at line 31 of file SkSize.h.
◆ isZero()
bool SkISize::isZero |
( |
| ) |
const |
|
inline |
Returns true iff fWidth == 0 && fHeight == 0
Definition at line 28 of file SkSize.h.
◆ 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
Definition at line 34 of file SkSize.h.
◆ width()
constexpr int32_t SkISize::width |
( |
| ) |
const |
|
inlineconstexpr |
◆ fHeight
◆ fWidth
The documentation for this struct was generated from the following file: