Go to the documentation of this file.
27 #include <boost/intrusive_ptr.hpp>
52 return _def->bounds();
59 const boost::intrusive_ptr<const SWF::DefineShapeTag> _def;
For DisplayObjects that don't store unusual state in their instances.
Definition: Shape.h:38
The base class for all ActionScript objects.
Definition: as_object.h:162
std::int32_t y
Definition: BitmapData_as.cpp:435
Shape(movie_root &mr, as_object *object, const SWF::DefineShapeTag *def, DisplayObject *parent)
Definition: Shape.h:40
SWFMatrix & invert()
Invert this SWFMatrix and return the result.
Definition: SWFMatrix.cpp:288
as_object * object() const
Definition: DisplayObject.h:931
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
SWFMatrix getWorldMatrix(const DisplayObject &d, bool includeRoot=true)
Get concatenated SWFMatrix (all ancestor transforms and our SWFMatrix)
Definition: DisplayObject.h:1131
Base class for render handlers.
Definition: Renderer.h:189
const Transform & transform() const
Definition: DisplayObject.h:292
virtual SWFRect getBounds() const
Definition: Shape.h:51
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:45
std::int32_t x
The x coordinate.
Definition: Point2d.h:43
void transform(geometry::Point2d &p) const
Transform a given point by our SWFMatrix.
Definition: SWFMatrix.cpp:99
virtual void display(Renderer &renderer, const Transform &xform)
Render the DisplayObject.
Definition: Shape.cpp:49
Definition: SWFMatrix.h:54
2D Point class
Definition: Point2d.h:39
void clear_invalidated()
Definition: DisplayObject.h:720
DisplayObject * parent() const
Return the parent of this DisplayObject, or NULL if the DisplayObject has no parent.
Definition: DisplayObject.h:252
This class represents the 'Stage' and top-level movie.
Definition: movie_root.h:151
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
std::int32_t y
The y coordinate.
Definition: Point2d.h:46
DisplayObject is the base class for all DisplayList objects.
Definition: DisplayObject.h:169
std::int32_t x
Definition: BitmapData_as.cpp:434
Represents the outline of one or more shapes, along with information on fill and line styles.
Definition: DefineShapeTag.h:33