23#include "vcomposite.h"
24#include <koffice_export.h>
47class KARBONBASE_EXPORT VStar : public VPath
62 const KoPoint& center, double outerRadius, double innerRadius,
63 uint edges, double angle = 0.0, uint innerAngle = 0,
64 double roundness = 0.0, VStarType type = star_outline );
66 static double getOptimalInnerRadius( uint edges, double outerRadius, uint innerAngle );
68 virtual TQString name() const;
71 virtual void save( TQDomElement& element ) const;
72 virtual void load( const TQDomElement& element );
74 virtual VPath* clone() const;
VObject(VObject *parent, VState state=edit) Constructs a new object that is child of parent and has the given state.
VObject * parent() const Returns pointer to current parent object.
@ edit visible, active and is currently manipulated by a tool
virtual TQString name() const Returns the name of the object.
VState state() const Get the state the object is in.
virtual void load(const TQDomElement &element) Load this object's state from xml and initialize this object accordingly.
virtual void save(TQDomElement &element) const Save this object's state to xml.
virtual VPath * clone() const Create an exact copy of this object.
|