Gnash
0.8.11dev
|
A SolidFill containing one color. More...
#include <FillStyle.h>
Public Member Functions | |
SolidFill (rgba c) | |
Construct a SolidFill. More... | |
SolidFill (const SolidFill &other) | |
Copy a SolidFill. More... | |
void | setLerp (const SolidFill &a, const SolidFill &b, double ratio) |
Set this fill to a lerp of two other SolidFills. More... | |
rgba | color () const |
Get the color of the fill. More... | |
A SolidFill containing one color.
SolidFills are the simplest fill, containing only a single color.
|
inline |
Get the color of the fill.
Referenced by gnash::renderer::openvg::StyleHandler::operator()(), gnash::operator<<(), and setLerp().
Set this fill to a lerp of two other SolidFills.
References color(), gnash::lerp(), and gnash::GradientRecord::ratio.