Gnash  0.8.11dev
Public Types | Public Member Functions | List of all members
gnash::SWF::Subshape Class Reference

#include <ShapeRecord.h>

Public Types

typedef std::vector< FillStyleFillStyles
 
typedef std::vector< LineStyleLineStyles
 
typedef std::vector< PathPaths
 

Public Member Functions

const FillStylesfillStyles () const
 
FillStylesfillStyles ()
 
const LineStyleslineStyles () const
 
LineStyleslineStyles ()
 
const Pathspaths () const
 
Pathspaths ()
 
PathcurrentPath ()
 For DynamicShape. More...
 
void addFillStyle (const FillStyle &fs)
 
void addPath (const Path &path)
 
void addLineStyle (const LineStyle &ls)
 
void clear ()
 
SWFRect computeBounds (int swfVersion) const
 Find the bounds of this subhape, and return them in a rectangle. More...
 

Member Typedef Documentation

§ FillStyles

§ LineStyles

§ Paths

typedef std::vector<Path> gnash::SWF::Subshape::Paths

Member Function Documentation

§ addFillStyle()

void gnash::SWF::Subshape::addFillStyle ( const FillStyle fs)

§ addLineStyle()

void gnash::SWF::Subshape::addLineStyle ( const LineStyle ls)
inline

§ addPath()

void gnash::SWF::Subshape::addPath ( const Path path)
inline

§ clear()

void gnash::SWF::Subshape::clear ( )
inline

§ computeBounds()

SWFRect gnash::SWF::Subshape::computeBounds ( int  swfVersion) const

Find the bounds of this subhape, and return them in a rectangle.

References gnash::key::p.

Referenced by clear().

§ currentPath()

Path& gnash::SWF::Subshape::currentPath ( )
inline

For DynamicShape.

TODO: rewrite DynamicShape to push paths when they're finished and drop this.

References addFillStyle().

Referenced by gnash::DynamicShape::add_path().

§ fillStyles() [1/2]

const FillStyles& gnash::SWF::Subshape::fillStyles ( ) const
inline

§ fillStyles() [2/2]

FillStyles& gnash::SWF::Subshape::fillStyles ( )
inline

§ lineStyles() [1/2]

const LineStyles& gnash::SWF::Subshape::lineStyles ( ) const
inline

§ lineStyles() [2/2]

LineStyles& gnash::SWF::Subshape::lineStyles ( )
inline

§ paths() [1/2]

const Paths& gnash::SWF::Subshape::paths ( ) const
inline

§ paths() [2/2]

Paths& gnash::SWF::Subshape::paths ( )
inline

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