public:
Path( const CanvasWeakPtr& canvas,
const SGPropertyNode_ptr& node,
- const Style& parent_style );
+ const Style& parent_style,
+ Element* parent = 0 );
virtual ~Path();
virtual void update(double dt);
+ virtual osg::BoundingBox getTransformedBounds(const osg::Matrix& m) const;
+
protected:
enum PathAttributes
};
class PathDrawable;
- osg::ref_ptr<PathDrawable> _path;
+ typedef osg::ref_ptr<PathDrawable> PathDrawableRef;
+ PathDrawableRef _path;
virtual void childRemoved(SGPropertyNode * child);
virtual void childChanged(SGPropertyNode * child);