Include dependency graph for rect.h:

Classes
| class | pp::Rect |
| A 2 dimensional rectangle. More... | |
| class | pp::FloatRect |
| 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) |
| bool | operator== (const pp::FloatRect &lhs, const pp::FloatRect &rhs) |
| bool | operator!= (const pp::FloatRect &lhs, const pp::FloatRect &rhs) |
Detailed Description
This file defines the APIs for creating a 2 dimensional rectangle.
Function Documentation
This function determines whether two Rects are not equal.
- Parameters:
[in] lhs The Recton the left-hand side of the equation.[in] rhs The Recton the right-hand side of the equation.
- Returns:
- true if the given Rects are equal, otherwise false.
| bool operator!= | ( | const pp::FloatRect & | lhs, |
| const pp::FloatRect & | rhs | ||
| ) | [inline] |
This function determines whether two Rects are not equal.
- Parameters:
[in] lhs The FloatRecton the left-hand side of the equation.[in] rhs The FloatRecton the right-hand side of the equation.
- Returns:
- true if the given Rects are equal, otherwise false.
This function determines whether the x, y, width, and height values of two rectangles and are equal.
- Parameters:
[in] lhs The Recton the left-hand side of the equation.[in] rhs The Recton the right-hand side of the equation.
- Returns:
- true if they are equal, false if unequal.
| bool operator== | ( | const pp::FloatRect & | lhs, |
| const pp::FloatRect & | rhs | ||
| ) | [inline] |
This function determines whether the x, y, width, and height values of two rectangles and are equal.
- Parameters:
[in] lhs The FloatRecton the left-hand side of the equation.[in] rhs The FloatRecton the right-hand side of the equation.
- Returns:
- true if they are equal, false if unequal.