slightly expand CanvasRender debug output

This commit is contained in:
Paul Davis 2014-01-10 11:02:34 -05:00
parent ffdf3ed017
commit 70c4a5e2d6

View File

@ -76,8 +76,8 @@ Group::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
#ifdef CANVAS_DEBUG
if (DEBUG_ENABLED(PBD::DEBUG::CanvasRender)) {
cerr << string_compose ("%1GROUP %2 render %5 %3 items out of %4\n",
_canvas->render_indent(), (name.empty() ? string ("[unnamed]") : name), items.size(), _items.size(), area);
cerr << string_compose ("%1GROUP %2 @ %7 render %5 @ %6 %3 items out of %4\n",
_canvas->render_indent(), (name.empty() ? string ("[unnamed]") : name), items.size(), _items.size(), area, _position, this);
}
#endif
@ -116,6 +116,8 @@ Group::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
if (dynamic_cast<Group*>(*i) == 0) {
cerr << _canvas->render_indent() << "render "
<< ' '
<< (*i)
<< ' '
<< (*i)->whatami()
<< ' '
<< (*i)->name
@ -123,6 +125,8 @@ Group::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
<< item
<< " intersect = "
<< draw
<< " @ "
<< _position
<< endl;
}
}