chages for drawing rect. line and circle.