|
Gnash
0.8.10
|
FillStyle describes the various fill styles for shapes. More...
#include <FillStyle.h>
Public Types | |
| typedef boost::variant < BitmapFill, SolidFill, GradientFill > | Fill |
Public Member Functions | |
| template<typename T > | |
| FillStyle (const T &f) | |
| Construct a FillStyle from any Fill. | |
| FillStyle (const FillStyle &other) | |
Public Attributes | |
| Fill | fill |
FillStyle describes the various fill styles for shapes.
The FillStyle class is effectively a boost::variant, but to allow passing FillStyles using a forward declaration (and reducing compile times), it's necessary to use a class.
| typedef boost::variant<BitmapFill, SolidFill, GradientFill> gnash::FillStyle::Fill |
| gnash::FillStyle::FillStyle | ( | const T & | f | ) | [inline] |
| gnash::FillStyle::FillStyle | ( | const FillStyle & | other | ) | [inline] |
Referenced by gnash::operator<<(), and gnash::setLerp().
1.7.6.1