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

DefineMorphShape tag. More...

#include <DefineMorphShapeTag.h>

Inheritance diagram for gnash::SWF::DefineMorphShapeTag:
gnash::SWF::DefinitionTag gnash::SWF::ControlTag gnash::ref_counted

Public Member Functions

virtual ~DefineMorphShapeTag ()
virtual DisplayObjectcreateDisplayObject (Global_as &gl, DisplayObject *parent) const
 Create a DisplayObject with the given parent.
void display (Renderer &renderer, const ShapeRecord &shape, const Transform &base) const
const ShapeRecordshape1 () const
const ShapeRecordshape2 () const
- Public Member Functions inherited from gnash::SWF::DefinitionTag
virtual ~DefinitionTag ()
virtual void executeState (MovieClip *m, DisplayList &) const
 Executing a DefinitionTag adds its id to list of known characters.
boost::uint16_t id () const
 The immutable id of the DefinitionTag.
- Public Member Functions inherited from gnash::SWF::ControlTag
virtual ~ControlTag ()
virtual void executeActions (MovieClip *, DisplayList &) const
 Execute Action tags.
- 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
enum  Type { TAG_ACTION = 1 << 0, TAG_DLIST = 1 << 1 }
 Type of ControlTag. More...
- Protected Member Functions inherited from gnash::SWF::DefinitionTag
 DefinitionTag (boost::uint16_t id)

Detailed Description

DefineMorphShape tag.

Constructor & Destructor Documentation

virtual gnash::SWF::DefineMorphShapeTag::~DefineMorphShapeTag ( )
inlinevirtual

Member Function Documentation

DisplayObject * gnash::SWF::DefineMorphShapeTag::createDisplayObject ( Global_as gl,
DisplayObject parent 
) const
virtual

Create a DisplayObject with the given parent.

This function will determine the correct prototype and associated object using the passed global.

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

void gnash::SWF::DefineMorphShapeTag::display ( Renderer renderer,
const ShapeRecord shape,
const Transform base 
) const
void gnash::SWF::DefineMorphShapeTag::loader ( SWFStream in,
TagType  tag,
movie_definition m,
const RunResources r 
)
static
const ShapeRecord& gnash::SWF::DefineMorphShapeTag::shape1 ( ) const
inline
const ShapeRecord& gnash::SWF::DefineMorphShapeTag::shape2 ( ) const
inline

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