Revert "fixed two funcs in Paint that had no return type"

This reverts commit d4507b55f41f6d08ae91c1f46edbda06d75c4e03.