Square, polygon, and circle, arc, calling 'general function'