diff options
| author | Markus Engel <markus.engel@tum.de> | 2012-08-18 21:51:30 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2012-08-18 21:51:30 +0000 |
| commit | 375a1ceb6ff9b4868f9e57b5cd865e7c2ce518fe (patch) | |
| tree | ad4e2f74f8e34ddac7b7d8a07e72628f74df1abf /src/sp-polyline.h | |
| parent | Added "virtual pad" to SPStar. (diff) | |
| download | inkscape-375a1ceb6ff9b4868f9e57b5cd865e7c2ce518fe.tar.gz inkscape-375a1ceb6ff9b4868f9e57b5cd865e7c2ce518fe.zip | |
Added "virtual pad" to SPPolyLine.
(bzr r11608.1.12)
Diffstat (limited to 'src/sp-polyline.h')
| -rw-r--r-- | src/sp-polyline.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/sp-polyline.h b/src/sp-polyline.h index 277529b49..09c602c38 100644 --- a/src/sp-polyline.h +++ b/src/sp-polyline.h @@ -13,9 +13,12 @@ class SPPolyLine; class SPPolyLineClass; +class CPolyLine; class SPPolyLine : public SPShape { public: + CPolyLine* cpolyline; + static GType sp_polyline_get_type (void); private: @@ -41,6 +44,23 @@ private: friend class SPPolyLine; }; + +class CPolyLine : public CShape { +public: + CPolyLine(SPPolyLine* polyline); + virtual ~CPolyLine(); + + virtual void onBuild(SPDocument* doc, Inkscape::XML::Node* repr); + virtual void onSet(unsigned int key, gchar const* value); + virtual Inkscape::XML::Node* onWrite(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags); + + virtual gchar* onDescription(); + +protected: + SPPolyLine* sppolyline; +}; + + #endif // SEEN_SP_POLYLINE_H /* |
