Public Member Functions | Static Public Member Functions

gnash::SWF::DefineShapeTag Class Reference

Represents the outline of one or more shapes, along with information on fill and line styles. More...

#include <DefineShapeTag.h>

Inheritance diagram for gnash::SWF::DefineShapeTag:
Inheritance graph
Collaboration diagram for gnash::SWF::DefineShapeTag:
Collaboration graph

List of all members.

Public Member Functions

virtual ~DefineShapeTag ()
virtual void display (Renderer &renderer, const Transform &xform) const
virtual DisplayObjectcreateDisplayObject (Global_as &gl, DisplayObject *parent) const
 Create a DisplayObject with the given parent.
const SWFRectbounds () const
 Get cached bounds of this shape.
virtual bool pointTestLocal (boost::int32_t x, boost::int32_t y, const SWFMatrix &wm) const

Static Public Member Functions

static void loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)

Detailed Description

Represents the outline of one or more shapes, along with information on fill and line styles.

Constructor & Destructor Documentation

virtual gnash::SWF::DefineShapeTag::~DefineShapeTag (  )  [inline, virtual]

Member Function Documentation

const SWFRect& gnash::SWF::DefineShapeTag::bounds (  )  const [inline]

Get cached bounds of this shape.

References gnash::SWF::ShapeRecord::getBounds().

DisplayObject * gnash::SWF::DefineShapeTag::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::DefineShapeTag::display ( Renderer renderer,
const Transform xform 
) const [virtual]
void gnash::SWF::DefineShapeTag::loader ( SWFStream in,
TagType  tag,
movie_definition m,
const RunResources r 
) [static]
bool gnash::SWF::DefineShapeTag::pointTestLocal ( boost::int32_t  x,
boost::int32_t  y,
const SWFMatrix wm 
) const [virtual]

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