added curve paint
putted new pen for rectangle