|
LibreOffice Module tools (master) 1
|
#include <sal/config.h>#include <sal/types.h>#include <tools/long.hxx>#include <cassert>#include <limits>#include <type_traits>Go to the source code of this file.
Functions | |
| template<typename T > | |
| std::enable_if< std::is_signed< T >::value||std::is_floating_point< T >::value, long >::type | MinMax (T nVal, tools::Long nMin, tools::Long nMax) |
| template<typename T > | |
| std::enable_if< std::is_unsigned< T >::value, long >::type | MinMax (T nVal, tools::Long nMin, tools::Long nMax) |
| sal_uInt32 | AlignedWidth4Bytes (sal_uInt32 nWidthBits) |
| tools::Long | FRound (double fVal) |
| template<typename T > | |
| std::enable_if< std::is_signed< T >::value, T >::type | NormAngle180 (T angle) |
| template<typename T > | |
| T | NormAngle360 (T angle) |
|
inline |
Definition at line 65 of file helpers.hxx.
References SAL_MAX_UINT32.
|
inline |
Definition at line 74 of file helpers.hxx.
Referenced by Color::DecreaseContrast(), tools::ImplAdaptiveSubdivide(), ImplPolygon::ImplPolygon(), tools::Line::Intersection(), and tools::Polygon::Rotate().
|
inline |
Definition at line 22 of file helpers.hxx.
Referenced by ImplPolygon::ImplPolygon().
|
inline |
Definition at line 42 of file helpers.hxx.
|
inline |
Definition at line 85 of file helpers.hxx.
|
inline |
Definition at line 95 of file helpers.hxx.