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

This commit is contained in:
Paul Davis 2013-04-15 21:57:08 -04:00
parent fe34485907
commit 84fb0a8dce
39 changed files with 1 additions and 463 deletions

View file

@ -131,24 +131,6 @@ Text::render (Rect const & /*area*/, Cairo::RefPtr<Cairo::Context> context) cons
context->fill ();
}
XMLNode *
Text::get_state () const
{
XMLNode* node = new XMLNode ("Text");
#ifdef CANVAS_DEBUG
if (!name.empty ()) {
node->add_property ("name", name);
}
#endif
return node;
}
void
Text::set_state (XMLNode const * /*node*/)
{
/* XXX */
}
void
Text::set_alignment (Pango::Alignment alignment)
{