LibreOffice Module slideshow (master) 1
Classes | Namespaces | Functions
interpolation.hxx File Reference
#include <basegfx/utils/lerp.hxx>
#include <osl/diagnose.h>
#include <rtl/ustring.hxx>
#include <rgbcolor.hxx>
#include <hslcolor.hxx>
Include dependency graph for interpolation.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  slideshow::internal::Interpolator< ValueType >
 
struct  slideshow::internal::Interpolator< HSLColor >
 Specialization for HSLColor, to employ color-specific interpolator. More...
 

Namespaces

namespace  basegfx
 
namespace  basegfx::utils
 
namespace  slideshow
 
namespace  slideshow::internal
 

Functions

template<>
::slideshow::internal::RGBColor basegfx::utils::lerp< ::slideshow::internal::RGBColor > (const ::slideshow::internal::RGBColor &rFrom, const ::slideshow::internal::RGBColor &rTo, double t)
 Specialization for RGBColor, to employ color-specific interpolator. More...
 
template<>
sal_Int16 basegfx::utils::lerp< sal_Int16 > (const sal_Int16 &, const sal_Int16 &rTo, double)
 Specialization also for sal_Int16, although this code should not be called. More...
 
template<>
OUString basegfx::utils::lerp< OUString > (const OUString &, const OUString &rTo, double)
 Specialization also for string, although this code should not be called. More...
 
template<>
bool basegfx::utils::lerp< bool > (const bool &, const bool &rTo, double)
 Specialization also for bool, although this code should not be called. More...
 
template<typename ValueType >
ValueType slideshow::internal::lerp (const Interpolator< ValueType > &rInterpolator, const ValueType &rFrom, const ValueType &rTo, sal_uInt32 nFrame, ::std::size_t nTotalFrames)
 Generic linear interpolator. More...
 
template<>
sal_Int16 slideshow::internal::lerp< sal_Int16 > (const Interpolator< sal_Int16 > &, const sal_Int16 &rFrom, const sal_Int16 &rTo, sal_uInt32 nFrame, ::std::size_t nTotalFrames)
 Specialization for non-interpolatable constants/enums. More...
 
template<>
OUString slideshow::internal::lerp< OUString > (const Interpolator< OUString > &, const OUString &rFrom, const OUString &rTo, sal_uInt32 nFrame, ::std::size_t nTotalFrames)
 Specialization for non-interpolatable strings. More...
 
template<>
bool slideshow::internal::lerp< bool > (const Interpolator< bool > &, const bool &bFrom, const bool &bTo, sal_uInt32 nFrame, ::std::size_t nTotalFrames)
 Specialization for non-interpolatable bools. More...