LibreOffice Module slideshow (master) 1
Public Member Functions | Private Attributes | List of all members
slideshow::internal::Interpolator< HSLColor > Struct Reference

Specialization for HSLColor, to employ color-specific interpolator. More...

#include <interpolation.hxx>

Public Member Functions

 Interpolator (bool bCCW)
 
HSLColor operator() (const HSLColor &rFrom, const HSLColor &rTo, double t) const
 

Private Attributes

const bool mbCCW
 When true: interpolate counter-clockwise. More...
 

Detailed Description

Specialization for HSLColor, to employ color-specific interpolator.

Definition at line 94 of file interpolation.hxx.

Constructor & Destructor Documentation

◆ Interpolator()

slideshow::internal::Interpolator< HSLColor >::Interpolator ( bool  bCCW)
inlineexplicit

Definition at line 96 of file interpolation.hxx.

Member Function Documentation

◆ operator()()

HSLColor slideshow::internal::Interpolator< HSLColor >::operator() ( const HSLColor rFrom,
const HSLColor rTo,
double  t 
) const
inline

Definition at line 101 of file interpolation.hxx.

References slideshow::internal::interpolate(), and t.

Member Data Documentation

◆ mbCCW

const bool slideshow::internal::Interpolator< HSLColor >::mbCCW
private

When true: interpolate counter-clockwise.

Definition at line 110 of file interpolation.hxx.


The documentation for this struct was generated from the following file: