Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
point.h File Reference
#include <stdint.h>
#include "ppapi/c/pp_point.h"

Go to the source code of this file.

Classes

class  pp::Point
 A 2 dimensional point with 0,0 being the upper-left starting coordinate. More...
 
class  pp::FloatPoint
 

Namespaces

 pp
 The C++ interface to the Pepper API.
 

Functions

bool operator== (const pp::Point &lhs, const pp::Point &rhs)
 
bool operator!= (const pp::Point &lhs, const pp::Point &rhs)
 
bool operator== (const pp::FloatPoint &lhs, const pp::FloatPoint &rhs)
 
bool operator!= (const pp::FloatPoint &lhs, const pp::FloatPoint &rhs)
 

Detailed Description

This file defines the API to create a 2 dimensional point.

Function Documentation

bool operator!= ( const pp::Point lhs,
const pp::Point rhs 
)
inline

Determines whether two Points have different coordinates.

Parameters
[in]lhsThe Point on the left-hand side of the equation.
[in]rhsThe Point on the right-hand side of the equation.
Returns
true if the coordinates of lhs are equal to the coordinates of rhs, otherwise false.
bool operator!= ( const pp::FloatPoint lhs,
const pp::FloatPoint rhs 
)
inline

Determines whether two Points have different coordinates.

Parameters
[in]lhsThe Point on the left-hand side of the equation.
[in]rhsThe Point on the right-hand side of the equation.
Returns
true if the coordinates of lhs are equal to the coordinates of rhs, otherwise false.
bool operator== ( const pp::Point lhs,
const pp::Point rhs 
)
inline

Determines whether the x and y values of two Points are equal.

Parameters
[in]lhsThe Point on the left-hand side of the equation.
[in]rhsThe Point on the right-hand side of the equation.
Returns
true if they are equal, false if unequal.
bool operator== ( const pp::FloatPoint lhs,
const pp::FloatPoint rhs 
)
inline

Determines whether the x and y values of two FloatPoints are equal.

Parameters
[in]lhsThe Point on the left-hand side of the equation.
[in]rhsThe Point on the right-hand side of the equation.
Returns
true if they are equal, false if unequal.