- dc.DrawRectangle((12 * self.cellWidth, y),
- (6 * self.cellWidth, self.textHeight))
-
- dc.EndDrawing()
+ dc.DrawRectangle(10 * self.cellWidth, y,
+ 6 * self.cellWidth, self.textHeight)
+
+ dc.DrawText(str(tuple(colours[line][1:])),
+ 18 * self.cellWidth, y)