- cairo_fill (cr);
-
- string const upper = Glib::ustring ((*i)->name).uppercase ();
- pair<string, double> const display = fit_to_pixels (cr, upper, w);
-
- /* plot it */
- set_source_rgb (cr, text_colour());
- cairo_move_to (cr, x + (w - display.second) / 2, y);
- cairo_show_text (cr, display.first.c_str());
-
- x += w;
- ++g;
-
- }
-
- /* BUNDLE PARALLELOGRAM-TYPE-THING AND NAME */
-
- x = 0;
- int N = 0;
-
- for (PortGroupList::List::const_iterator i = _matrix->columns()->begin(); i != _matrix->columns()->end(); ++i) {
-
- if ((*i)->visible ()) {
-
- PortGroup::BundleList const & bundles = (*i)->bundles ();
- for (PortGroup::BundleList::const_iterator j = bundles.begin (); j != bundles.end(); ++j) {
-
- Gdk::Color c = j->has_colour ? j->colour : get_a_bundle_colour (N);
- render_bundle_name (cr, c, x, 0, j->bundle);
-
- if (_matrix->show_only_bundles()) {
- x += grid_spacing();
- } else {
- x += j->bundle->nchannels () * grid_spacing();
- }
-
- ++N;
- }