8 #ifndef PPAPI_C_PP_RECT_H_
9 #define PPAPI_C_PP_RECT_H_
39 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(
PP_Rect, 16);
78 int32_t w, int32_t h) {
PP_INLINE struct PP_Rect PP_MakeRectFromXYWH(int32_t x, int32_t y, int32_t w, int32_t h)
Definition: pp_rect.h:77
float width
Definition: pp_size.h:40
int32_t y
Definition: pp_point.h:38
Definition: pp_point.h:46
struct PP_FloatPoint point
Definition: pp_rect.h:50
struct PP_Point point
Definition: pp_rect.h:35
int32_t height
Definition: pp_size.h:31
PP_INLINE struct PP_FloatRect PP_MakeFloatRectFromXYWH(float x, float y, float w, float h)
Definition: pp_rect.h:100
Definition: pp_point.h:28
struct PP_Size size
Definition: pp_rect.h:37
struct PP_FloatSize size
Definition: pp_rect.h:52
float height
Definition: pp_size.h:42
int32_t width
Definition: pp_size.h:29
int32_t x
Definition: pp_point.h:33