Gnash
0.8.10
|
#include <Renderer_agg_style.h>
Public Member Functions | |
virtual | ~AggStyle () |
bool | solid () const |
agg::rgba8 | color () const |
virtual void | generate_span (agg::rgba8 *span, int x, int y, unsigned len)=0 |
Static Public Member Functions | |
AggStyle (bool solid, const agg::rgba8 &color=agg::rgba8(0, 0, 0, 0)) |
Internal style class that represents a fill style. Roughly speaking, AGG computes the fill areas of a flash composite shape and calls generate_span to generate small horizontal pixel rows. generate_span provides whatever fill pattern for that coordinate.
gnash::AggStyle::AggStyle | ( | bool | solid, |
const agg::rgba8 & | color = agg::rgba8(0,0,0,0) |
||
) | [inline, static] |
virtual gnash::AggStyle::~AggStyle | ( | ) | [inline, virtual] |
agg::rgba8 gnash::AggStyle::color | ( | ) | const [inline] |
virtual void gnash::AggStyle::generate_span | ( | agg::rgba8 * | span, |
int | x, | ||
int | y, | ||
unsigned | len | ||
) | [pure virtual] |
bool gnash::AggStyle::solid | ( | ) | const [inline] |