diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-15 21:57:08 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-15 21:57:08 -0400 |
commit | 84fb0a8dceda063d58b946cb891c3e21214c8f75 (patch) | |
tree | 1802e90cff0548e201397392c8aebd9f8f5f83dd /libs/canvas/poly_line.cc | |
parent | fe344859073b00ff63b0fd0b68c26af6cd96aae3 (diff) |
remove all XML related API from canvas. it may have been useful during development, but it is just a distraction - we will NEVER be saving or restoring canvas state via XML or any kind of serialized state
Diffstat (limited to 'libs/canvas/poly_line.cc')
-rw-r--r-- | libs/canvas/poly_line.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libs/canvas/poly_line.cc b/libs/canvas/poly_line.cc index e48082817d..47c6736f9c 100644 --- a/libs/canvas/poly_line.cc +++ b/libs/canvas/poly_line.cc @@ -19,20 +19,3 @@ PolyLine::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) cons context->stroke (); } } - - -XMLNode * -PolyLine::get_state () const -{ - XMLNode* node = new XMLNode ("PolyLine"); - add_poly_item_state (node); - add_outline_state (node); - return node; -} - -void -PolyLine::set_state (XMLNode const * node) -{ - set_poly_item_state (node); - set_outline_state (node); -} |