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