Use 4 arcs to compose an egg shape:
- Private Sub Form_Click()
- Me.Caption = "Draw an egg"
- Dim pi As Single, X As Single
- pi = 4 * Atn(1)
- Me.Scale (-2, -4)-(4, 4)
- Me.Circle (2, 0), 1, vbCyan, 3 * pi / 2, pi / 2
- Me.Circle (Sqr(3) / 2, 0), 0.5, vbCyan, 2 * pi / 3, 4 * pi / 3
- Me.Circle (2, 2), 2, vbCyan, pi / 2, 3 * pi / 4
- Me.Circle (2, -2), 2, vbCyan, 5 * pi / 4, 3 * pi / 2
- End Sub
It returns: