roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
interpolation.cpp File Reference
Include dependency graph for interpolation.cpp:

Go to the source code of this file.

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).