Create painter.cpp