Native Client

rect.h File Reference

This file defines the APIs for creating a 2 dimensional rectangle. More...

Include dependency graph for rect.h:
This graph shows which files directly or indirectly include this file:

Classes

class  pp::Rect
 A 2 dimensional rectangle. More...

Namespaces

namespace  pp

Functions

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

Detailed Description

This file defines the APIs for creating a 2 dimensional rectangle.


Function Details

bool operator!= ( const pp::Rect lhs,
const pp::Rect rhs 
) [inline]

This function determines whether two Rects are not equal.

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

This function determines whether the x, y, width, and height values of two rectangles and are equal.

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

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.