Skia
2DGraphicsLibrary
|
Public Member Functions | |
void | set (int32_t w, int32_t h) |
bool | isZero () const |
Returns true iff fWidth == 0 && fHeight == 0. | |
bool | isEmpty () const |
Returns true if either widht or height are <= 0. | |
void | setEmpty () |
Set the width and height to 0. | |
int32_t | width () const |
int32_t | height () const |
bool | equals (int32_t w, int32_t h) const |
Static Public Member Functions | |
static SkISize | Make (int32_t w, int32_t h) |
static SkISize | MakeEmpty () |
Public Attributes | |
int32_t | fWidth |
int32_t | fHeight |