roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
interpolation.h File Reference
Include dependency graph for interpolation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  roo_display::RawColorInterpolator< ColorMode >
 Default raw color interpolator (specialized in color_modes.h). More...
 

Namespaces

namespace  roo_display
 Defines 140 opaque HTML named colors.
 

Functions

Color roo_display::InterpolateColors (Color c1, Color c2, int16_t fraction)
 Interpolate between two colors with fraction in [0, 256].
 
Color roo_display::InterpolateOpaqueColors (Color c1, Color c2, int16_t fraction)
 Interpolate between two opaque colors with fraction in [0, 256].
 
Color roo_display::InterpolateColorWithTransparency (Color c, int16_t fraction_color)
 Equivalent to InterpolateColors(Transparent, c, fraction_color).
 
Color roo_display::InterpolateOpaqueColorWithTransparency (Color c, int16_t fraction_color)
 Equivalent to InterpolateColors(Transparent, c, fraction_color) for opaque c.