mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-29 09:20:32 +00:00
lottie/vector: change addPolystar* method to addPolystar/addPolygon
It also move its implemented code to VPath::VPathData from VPath. Change-Id: Idc6f04e04930f1863bb78fd1a05ba86c573e328b
This commit is contained in:
@@ -87,10 +87,8 @@ main(void)
|
||||
|
||||
path.addOval(VRectF(300, 100, 100, 50), VPath::Direction::CCW);
|
||||
|
||||
path.addPolystarStar(0.0, 150, 150, 15.0,
|
||||
106.0, 34.0,
|
||||
231.0, 88.0, VPath::Direction::CW);
|
||||
|
||||
path.addPolystar(15.0, 106.0, 34.0, 0.0, 150,
|
||||
150, 231.0, 88.0, VPath::Direction::CW);
|
||||
|
||||
PathTest test(APP);
|
||||
test.setPath(path);
|
||||
|
||||
Reference in New Issue
Block a user