Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
pp_point.h File Reference

Go to the source code of this file.

Classes

struct  PP_Point
 
struct  PP_FloatPoint
 

Functions

 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES (PP_Point, 8)
 
 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES (PP_FloatPoint, 8)
 
PP_INLINE struct PP_Point PP_MakePoint (int32_t x, int32_t y)
 
PP_INLINE struct PP_FloatPoint PP_MakeFloatPoint (float x, float y)
 

Detailed Description

This file defines the API to create a 2 dimensional point. 0,0 is the upper-left starting coordinate.