bezier curves, clipping and circle drawing