- self.draw_rect(0, -descent, width, ascent, fill_color=[1, 1, 1, 0.1], stroke=bounding_box)
- cr.set_source_rgba(color[0], color[1], color[2], 0.8)
+ self.draw_rect(0, -descent, width, ascent, fill_color=[1, 1, 1, 0.8], stroke=bounding_box)
+ r, g, b, a = self.color_to_rgba(color)
+ cr.set_source_rgba(r, g, b, a)