5 #ifndef PPAPI_CPP_SIZE_H_
6 #define PPAPI_CPP_SIZE_H_
8 #include "ppapi/c/pp_size.h"
9 #include "ppapi/cpp/logging.h"
170 return !(lhs == rhs);
173 #endif // PPAPI_CPP_SIZE_H_
Size()
The default constructor. Initializes the width and height to 0.
const PP_Size & pp_size() const
void SetSize(int w, int h)
A size of an object based on width and height.
bool operator!=(const pp::Size &lhs, const pp::Size &rhs)
bool operator==(const pp::Size &lhs, const pp::Size &rhs)
void Enlarge(int w, int h)