roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
roo_display::RawColorInterpolator< ColorMode > Struct Template Reference

Default raw color interpolator (specialized in color_modes.h). More...

#include <interpolation.h>

Public Member Functions

Color operator() (ColorStorageType< ColorMode > c1, ColorStorageType< ColorMode > c2, uint16_t fraction, const ColorMode &color_mode) const
 

Detailed Description

template<typename ColorMode>
struct roo_display::RawColorInterpolator< ColorMode >

Default raw color interpolator (specialized in color_modes.h).

Uses the color mode transparency to choose an appropriate interpolation.

Definition at line 31 of file interpolation.h.

Member Function Documentation

◆ operator()()

template<typename ColorMode >
Color roo_display::RawColorInterpolator< ColorMode >::operator() ( ColorStorageType< ColorMode >  c1,
ColorStorageType< ColorMode >  c2,
uint16_t  fraction,
const ColorMode &  color_mode 
) const
inline

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