Gnash  0.8.11dev
Public Member Functions | Static Public Member Functions | List of all members
gnash::AggStyle Class Referenceabstract

#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))
 

Detailed Description

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.

Constructor & Destructor Documentation

gnash::AggStyle::AggStyle ( bool  solid,
const agg::rgba8 &  color = agg::rgba8(0,0,0,0) 
)
inlinestatic
virtual gnash::AggStyle::~AggStyle ( )
inlinevirtual

Member Function Documentation

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

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