Include dependency graph for size.h:
Classes
class | pp::Size |
A size of an object based on width and height. More... | |
class | pp::FloatSize |
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) |
bool | operator== (const pp::FloatSize &lhs, const pp::FloatSize &rhs) |
bool | operator!= (const pp::FloatSize &lhs, const pp::FloatSize &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.
bool operator!= | ( | const pp::FloatSize & | lhs, |
const pp::FloatSize & | rhs | ||
) | [inline] |
This function determines whether two FloatSizes
are not equal.
- Parameters:
[in] lhs The FloatSize
on the left-hand side of the equation.[in] rhs The FloatSize
on the right-hand side of the equation.
- Returns:
- true if the
FloatSize
of lhs are equal to theFloatSize
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.
bool operator== | ( | const pp::FloatSize & | lhs, |
const pp::FloatSize & | rhs | ||
) | [inline] |
This function determines whether the width and height values of two sizes are equal.
- Parameters:
[in] lhs The FloatSize
on the left-hand side of the equation.[in] rhs The FloatSize
on the right-hand side of the equation.
- Returns:
- true if they are equal, false if unequal.