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

#include <Renderer_agg_style.h>

Public Member Functions

 AggStyle (bool solid, agg::rgba8 color=agg::rgba8(0, 0, 0, 0))
 
virtual ~AggStyle ()
 
bool solid () const
 
agg::rgba8 color () const
 
virtual void generate_span (agg::rgba8 *span, int x, int y, unsigned len)=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

§ AggStyle()

gnash::AggStyle::AggStyle ( bool  solid,
agg::rgba8  color = agg::rgba8(0,0,0,0) 
)
inline

§ ~AggStyle()

virtual gnash::AggStyle::~AggStyle ( )
inlinevirtual

Member Function Documentation

§ color()

agg::rgba8 gnash::AggStyle::color ( ) const
inline

§ generate_span()

virtual void gnash::AggStyle::generate_span ( agg::rgba8 *  span,
int  x,
int  y,
unsigned  len 
)
pure virtual

§ solid()

bool gnash::AggStyle::solid ( ) const
inline

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