Gnash  0.8.10
Public Member Functions
gnash::SolidFill Struct Reference

A SolidFill containing one color. More...

#include <FillStyle.h>

List of all members.

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.

Detailed Description

A SolidFill containing one color.

SolidFills are the simplest fill, containing only a single color.


Constructor & Destructor Documentation

gnash::SolidFill::SolidFill ( const rgba c) [inline, explicit]

Construct a SolidFill.

gnash::SolidFill::SolidFill ( const SolidFill other) [inline]

Copy a SolidFill.


Member Function Documentation

rgba gnash::SolidFill::color ( ) const [inline]
void gnash::SolidFill::setLerp ( const SolidFill a,
const SolidFill b,
double  ratio 
) [inline]

Set this fill to a lerp of two other SolidFills.

References gnash::lerp(), and color().


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