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

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

Member Function Documentation

void gnash::SWF::Subshape::addFillStyle ( const FillStyle fs)
void gnash::SWF::Subshape::addLineStyle ( const LineStyle ls)
inline
void gnash::SWF::Subshape::addPath ( const Path path)
inline
void gnash::SWF::Subshape::clear ( )
inline
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().

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().

const FillStyles& gnash::SWF::Subshape::fillStyles ( ) const
inline
FillStyles& gnash::SWF::Subshape::fillStyles ( )
inline
const LineStyles& gnash::SWF::Subshape::lineStyles ( ) const
inline
LineStyles& gnash::SWF::Subshape::lineStyles ( )
inline
const Paths& gnash::SWF::Subshape::paths ( ) const
inline
Paths& gnash::SWF::Subshape::paths ( )
inline

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