|
Gnash
0.8.11dev
|
DefineMorphShape tag. More...
#include <DefineMorphShapeTag.h>
Public Member Functions | |
| virtual | ~DefineMorphShapeTag () |
| virtual DisplayObject * | createDisplayObject (Global_as &gl, DisplayObject *parent) const |
| Create a DisplayObject with the given parent. More... | |
| void | display (Renderer &renderer, const ShapeRecord &shape, const Transform &base) const |
| const ShapeRecord & | shape1 () const |
| const ShapeRecord & | shape2 () const |
Public Member Functions inherited from gnash::SWF::DefinitionTag | |
| virtual | ~DefinitionTag () |
| virtual DSOTEXPORT void | executeState (MovieClip *m, DisplayList &) const |
| Executing a DefinitionTag adds its id to list of known characters. More... | |
| std::uint16_t | id () const |
| The immutable id of the DefinitionTag. More... | |
Public Member Functions inherited from gnash::SWF::ControlTag | |
| virtual | ~ControlTag () |
| virtual void | executeActions (MovieClip *, DisplayList &) const |
| Execute Action tags. More... | |
Public Member Functions inherited from gnash::ref_counted | |
| ref_counted () | |
| ref_counted (const ref_counted &) | |
| void | add_ref () const |
| void | drop_ref () const |
| long | get_ref_count () const |
Static Public Member Functions | |
| static void | loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &r) |
Additional Inherited Members | |
Public Types inherited from gnash::SWF::ControlTag | |
Protected Member Functions inherited from gnash::SWF::DefinitionTag | |
| DefinitionTag (std::uint16_t id) | |
Protected Member Functions inherited from gnash::ref_counted | |
| virtual | ~ref_counted () |
DefineMorphShape tag.
|
inlinevirtual |
References createDisplayObject(), and display().
|
virtual |
Create a DisplayObject with the given parent.
This function will determine the correct prototype and associated object using the passed global.
| gl | The global object used to set prototype and associated object. Calling this function creates a new DisplayObject from the DefinitionTag and adds it as a child of the specified parent DisplayObject. |
Implements gnash::SWF::DefinitionTag.
References gnash::getRoot().
Referenced by ~DefineMorphShapeTag().
| void gnash::SWF::DefineMorphShapeTag::display | ( | Renderer & | renderer, |
| const ShapeRecord & | shape, | ||
| const Transform & | base | ||
| ) | const |
References gnash::SWF::Subshape::addFillStyle(), gnash::SWF::Subshape::addLineStyle(), gnash::SWF::ShapeRecord::addSubshape(), gnash::SWFStream::align(), gnash::SWF::DEFINEMORPHSHAPE, gnash::SWF::DEFINEMORPHSHAPE2, gnash::SWF::DEFINEMORPHSHAPE2_, gnash::Renderer::drawShape(), gnash::SWFStream::ensureBytes(), gnash::key::i, gnash::SWF::ShapeRecord::read(), gnash::LineStyle::read_morph(), gnash::SWFStream::read_u32(), gnash::SWFStream::read_u8(), gnash::SWFStream::read_variable_count(), gnash::readFills(), gnash::readRect(), gnash::SWF::ShapeRecord::setBounds(), gnash::SWF::ShapeRecord::subshapes(), and UNUSED.
Referenced by ~DefineMorphShapeTag().
|
static |
|
inline |
|
inline |
1.8.11