Update Paint.cpp

Update from source