- /* rectangle */
- set_source_rgb (cr, get_a_group_colour (g));
- double const rh = _highest_group_name + 2 * name_pad();
- if (_matrix->arrangement() == PortMatrix::TOP_TO_RIGHT) {
- cairo_rectangle (cr, x, component_to_parent_y (0), w, rh);
- } else {
- cairo_rectangle (cr, x, component_to_parent_y (_height - rh), w, rh);
- }
- cairo_fill (cr);