size.h File Reference
Include dependency graph for size.h:
Classes
class | pp::Size |
A size of an object based on width and height. More... |
Namespaces
namespace | pp |
Functions
bool | operator== (const pp::Size &lhs, const pp::Size &rhs) |
bool | operator!= (const pp::Size &lhs, const pp::Size &rhs) |
Detailed Description
This file defines the API to create a size based on width and height.
Function Documentation
This function determines whether two Sizes
are not equal.
- Parameters:
-
[in] lhs The Size
on the left-hand side of the equation.[in] rhs The Size
on the right-hand side of the equation.
- Returns:
- true if the
Size
of lhs are equal to theSize
of rhs, otherwise false.
This function determines whether the width and height values of two sizes are equal.
- Parameters:
-
[in] lhs The Size
on the left-hand side of the equation.[in] rhs The Size
on the right-hand side of the equation.
- Returns:
- true if they are equal, false if unequal.