Gnash
0.8.11dev
|
#include <ShapeRecord.h>
Public Types | |
typedef std::vector< FillStyle > | FillStyles |
typedef std::vector< LineStyle > | LineStyles |
typedef std::vector< Path > | Paths |
Public Member Functions | |
const FillStyles & | fillStyles () const |
FillStyles & | fillStyles () |
const LineStyles & | lineStyles () const |
LineStyles & | lineStyles () |
const Paths & | paths () const |
Paths & | paths () |
Path & | currentPath () |
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... | |
typedef std::vector<FillStyle> gnash::SWF::Subshape::FillStyles |
typedef std::vector<LineStyle> gnash::SWF::Subshape::LineStyles |
typedef std::vector<Path> gnash::SWF::Subshape::Paths |
Referenced by gnash::DynamicShape::addFillStyle().
Referenced by gnash::DynamicShape::add_line_style().
Referenced by gnash::DynamicShape::add_path().
|
inline |
Referenced by gnash::DynamicShape::clear(), gnash::DynamicShape::finalize(), and gnash::SWF::ShapeRecord::read().
SWFRect gnash::SWF::Subshape::computeBounds | ( | int | swfVersion | ) | const |
Find the bounds of this subhape, and return them in a rectangle.
References gnash::Path::expandBounds(), gnash::key::i, lineStyles(), gnash::Path::m_line, and gnash::key::p.
|
inline |
For DynamicShape.
TODO: rewrite DynamicShape to push paths when they're finished and drop this.
Referenced by gnash::DynamicShape::add_path().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |