Gnash  0.8.10
Public Member Functions | Static Public Member Functions
gnash::AggStyle Class Reference

#include <Renderer_agg_style.h>

List of all members.

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) 
) [inline, static]
virtual gnash::AggStyle::~AggStyle ( ) [inline, virtual]

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: