27 #include <boost/intrusive_ptr.hpp> 52 return _def->bounds();
59 const boost::intrusive_ptr<const SWF::DefineShapeTag> _def;
Shape(movie_root &mr, as_object *object, const SWF::DefineShapeTag *def, DisplayObject *parent)
Definition: Shape.h:40
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
virtual SWFRect getBounds() const
Definition: Shape.h:51
Represents the outline of one or more shapes, along with information on fill and line styles...
Definition: DefineShapeTag.h:32
std::int32_t x
Definition: BitmapData_as.cpp:434
std::int32_t y
Definition: BitmapData_as.cpp:435
For DisplayObjects that don't store unusual state in their instances.
Definition: Shape.h:37
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:44
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: Shape.cpp:27
virtual void display(Renderer &renderer, const Transform &xform)
Render the DisplayObject.
Definition: Shape.cpp:49
This class represents the 'Stage' and top-level movie.
Definition: movie_root.h:150