5 #ifndef PPAPI_CPP_SIZE_H_
6 #define PPAPI_CPP_SIZE_H_
8 #include "ppapi/c/pp_size.h"
188 operator PP_FloatSize() {
304 return !(lhs == rhs);
330 return !(lhs == rhs);
333 #endif // PPAPI_CPP_SIZE_H_
void SetSize(float w, float h)
FloatSize(float w, float h)
Size()
The default constructor. Initializes the width and height to 0.
A size of an object based on width and height.
const PP_Size & pp_size() const
FloatSize(const PP_FloatSize &s)
PP_FloatSize & pp_float_size()
const PP_FloatSize & pp_float_size() const
void SetSize(int w, int h)
A size of an object based on width and height.
FloatSize()
The default constructor. Initializes the width and height to 0.0f.
bool operator!=(const pp::Size &lhs, const pp::Size &rhs)
bool operator==(const pp::Size &lhs, const pp::Size &rhs)
void Enlarge(float w, float h)
void Enlarge(int w, int h)