Gnash
0.8.11dev
|
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. More... | |
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 |
|
inline |
|
inline |
Fill gnash::FillStyle::fill |
Referenced by gnash::operator<<(), and gnash::setLerp().