comments in painter.pyx
fixes