Gnash
0.8.10
|
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. | |
void | display (Renderer &renderer, const ShapeRecord &shape, const Transform &base) const |
const ShapeRecord & | shape1 () const |
const ShapeRecord & | shape2 () const |
Static Public Member Functions | |
static void | loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &r) |
DefineMorphShape tag.
virtual gnash::SWF::DefineMorphShapeTag::~DefineMorphShapeTag | ( | ) | [inline, virtual] |
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.
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().
void gnash::SWF::DefineMorphShapeTag::display | ( | Renderer & | renderer, |
const ShapeRecord & | shape, | ||
const Transform & | base | ||
) | const |
References gnash::Renderer::drawShape().
void gnash::SWF::DefineMorphShapeTag::loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | r | ||
) | [static] |
References gnash::SWFStream::ensureBytes(), gnash::SWFStream::read_u16(), IF_VERBOSE_PARSE, and gnash::movie_definition::addDisplayObject().
Referenced by gnash::SWF::addDefaultLoaders().
const ShapeRecord& gnash::SWF::DefineMorphShapeTag::shape1 | ( | ) | const [inline] |
const ShapeRecord& gnash::SWF::DefineMorphShapeTag::shape2 | ( | ) | const [inline] |