-
Notifications
You must be signed in to change notification settings - Fork 2
/
svg.swift
27 lines (27 loc) · 3.26 KB
/
svg.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
path = UIBezierPath()
path.move(to: CGPoint(x: 74.0, y: 0.0))
path.addCurve(to: CGPoint(x: 0.0, y: 75.9), controlPoint1: CGPoint(x: 33.1, y: 0.0), controlPoint2: CGPoint(x: 0.0, y: 34.0))
path.addCurve(to: CGPoint(x: 50.6, y: 147.9), controlPoint1: CGPoint(x: 0.0, y: 109.4), controlPoint2: CGPoint(x: 21.2, y: 137.8))
path.addCurve(to: CGPoint(x: 55.7, y: 144.2), controlPoint1: CGPoint(x: 54.3, y: 148.6), controlPoint2: CGPoint(x: 55.7, y: 146.2))
path.addCurve(to: CGPoint(x: 55.6, y: 131.3), controlPoint1: CGPoint(x: 55.7, y: 142.4), controlPoint2: CGPoint(x: 55.6, y: 137.6))
path.addCurve(to: CGPoint(x: 30.6, y: 121.1), controlPoint1: CGPoint(x: 35.0, y: 135.9), controlPoint2: CGPoint(x: 30.6, y: 121.1))
path.addCurve(to: CGPoint(x: 22.4, y: 110.0), controlPoint1: CGPoint(x: 27.3, y: 112.4), controlPoint2: CGPoint(x: 22.4, y: 110.0))
path.addCurve(to: CGPoint(x: 22.9, y: 105.4), controlPoint1: CGPoint(x: 15.7, y: 105.3), controlPoint2: CGPoint(x: 22.9, y: 105.4))
path.addCurve(to: CGPoint(x: 34.3, y: 113.2), controlPoint1: CGPoint(x: 30.4, y: 106.0), controlPoint2: CGPoint(x: 34.3, y: 113.2))
path.addCurve(to: CGPoint(x: 55.8, y: 119.5), controlPoint1: CGPoint(x: 40.9, y: 124.8), controlPoint2: CGPoint(x: 51.6, y: 121.5))
path.addCurve(to: CGPoint(x: 60.5, y: 109.4), controlPoint1: CGPoint(x: 56.5, y: 114.6), controlPoint2: CGPoint(x: 58.4, y: 111.3))
path.addCurve(to: CGPoint(x: 26.8, y: 71.9), controlPoint1: CGPoint(x: 44.1, y: 107.5), controlPoint2: CGPoint(x: 26.8, y: 101.0))
path.addCurve(to: CGPoint(x: 34.4, y: 51.5), controlPoint1: CGPoint(x: 26.8, y: 63.6), controlPoint2: CGPoint(x: 29.7, y: 56.9))
path.addCurve(to: CGPoint(x: 35.1, y: 31.5), controlPoint1: CGPoint(x: 33.6, y: 49.6), controlPoint2: CGPoint(x: 31.1, y: 41.9))
path.addCurve(to: CGPoint(x: 55.5, y: 39.2), controlPoint1: CGPoint(x: 35.1, y: 31.5), controlPoint2: CGPoint(x: 41.3, y: 29.4))
path.addCurve(to: CGPoint(x: 74.0, y: 36.7), controlPoint1: CGPoint(x: 61.4, y: 37.6), controlPoint2: CGPoint(x: 67.7, y: 36.7))
path.addCurve(to: CGPoint(x: 92.5, y: 39.2), controlPoint1: CGPoint(x: 80.3, y: 36.7), controlPoint2: CGPoint(x: 86.6, y: 37.6))
path.addCurve(to: CGPoint(x: 112.9, y: 31.5), controlPoint1: CGPoint(x: 106.7, y: 29.4), controlPoint2: CGPoint(x: 112.9, y: 31.5))
path.addCurve(to: CGPoint(x: 113.6, y: 51.5), controlPoint1: CGPoint(x: 116.9, y: 41.9), controlPoint2: CGPoint(x: 114.4, y: 49.6))
path.addCurve(to: CGPoint(x: 121.2, y: 71.9), controlPoint1: CGPoint(x: 118.3, y: 56.9), controlPoint2: CGPoint(x: 121.2, y: 63.6))
path.addCurve(to: CGPoint(x: 87.4, y: 109.3), controlPoint1: CGPoint(x: 121.2, y: 101.1), controlPoint2: CGPoint(x: 103.9, y: 107.5))
path.addCurve(to: CGPoint(x: 92.4, y: 123.4), controlPoint1: CGPoint(x: 90.1, y: 111.7), controlPoint2: CGPoint(x: 92.4, y: 116.3))
path.addCurve(to: CGPoint(x: 92.3, y: 144.2), controlPoint1: CGPoint(x: 92.4, y: 133.5), controlPoint2: CGPoint(x: 92.3, y: 141.7))
path.addCurve(to: CGPoint(x: 97.4, y: 147.9), controlPoint1: CGPoint(x: 92.3, y: 146.2), controlPoint2: CGPoint(x: 93.7, y: 148.6))
path.addCurve(to: CGPoint(x: 148.0, y: 75.9), controlPoint1: CGPoint(x: 126.8, y: 137.8), controlPoint2: CGPoint(x: 148.0, y: 109.4))
path.addCurve(to: CGPoint(x: 74.0, y: 0.0), controlPoint1: CGPoint(x: 148.0, y: 34.0), controlPoint2: CGPoint(x: 114.9, y: 0.0))