20 #ifndef GNASH_MORPH_SHAPE_H 21 #define GNASH_MORPH_SHAPE_H 25 #include <boost/intrusive_ptr.hpp> 70 double currentRatio()
const;
72 const boost::intrusive_ptr<const SWF::DefineMorphShapeTag> _def;
virtual void display(Renderer &renderer, const Transform &xform)
Render the DisplayObject.
Definition: MorphShape.cpp:62
DisplayObject is the base class for all DisplayList objects.
Definition: DisplayObject.h:168
DisplayObject * parent() const
Return the parent of this DisplayObject, or NULL if the DisplayObject has no parent.
Definition: DisplayObject.h:252
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
The base class for all ActionScript objects.
Definition: as_object.h:161
Base class for render handlers.
Definition: Renderer.h:188
const SWF::ShapeRecord & shape() const
Definition: MorphShape.h:62
std::int32_t x
Definition: BitmapData_as.cpp:434
virtual SWFRect getBounds() const
Definition: MorphShape.cpp:79
std::int32_t y
Definition: BitmapData_as.cpp:435
MorphShape(movie_root &mr, as_object *object, const SWF::DefineMorphShapeTag *def, DisplayObject *parent)
Definition: MorphShape.cpp:30
virtual bool pointInShape(std::int32_t x, std::int32_t y) const
Return true if the given point falls in this DisplayObject's shape.
Definition: MorphShape.cpp:40
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:44
A DisplayObject that tweens between two shapes.
Definition: MorphShape.h:48
Holds information needed to draw a shape.
Definition: ShapeRecord.h:126
DefineMorphShape tag.
Definition: DefineMorphShapeTag.h:45
This class represents the 'Stage' and top-level movie.
Definition: movie_root.h:150