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

bool operator!=(const pp::Sizelhs,
const pp::Sizerhs 
) [inline]

This function determines whether two Sizes are not equal.

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

This function determines whether two FloatSizes are not equal.

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

This function determines whether the width and height values of two sizes are equal.

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

This function determines whether the width and height values of two sizes are equal.

Parameters:
[in]lhsThe FloatSize on the left-hand side of the equation.
[in]rhsThe FloatSize on the right-hand side of the equation.
Returns:
true if they are equal, false if unequal.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.