MCPcopy Create free account
hub / github.com/Samsung/rlottie / SetUp

Method SetUp

test/test_vpath.cpp:6–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4class VPathTest : public ::testing::Test {
5public:
6 void SetUp()
7 {
8 pathRect.addRect({-10, -20, 100, 100});
9 pathRoundRect.addRoundRect({0, 0, 100, 100}, 5, 5);
10 pathRoundRectZeroCorner.addRoundRect({0, 0, 100, 100}, 0, 0);
11 pathRoundRectHalfCircle.addRoundRect({0, 0, 100, 100}, 60, 60);
12 pathOval.addOval({0,0,100,50});
13 pathOvalCircle.addOval({0,0,100,100});
14 pathCircle.addCircle(0, 0, 100);
15 pathCircleZeroRadius.addCircle(10, 10, 0);
16 pathPolygon.addPolygon(10, 50, 5, 0, 0, 0);
17 pathPolystar.addPolystar(10, 50, 100, 7, 14, 0, 0, 0);
18 pathPolygonZero.addPolygon(10, 50, 0, 0, 0, 0);
19 pathPolystarZero.addPolystar(10, 50, 100, 0, 0, 0, 0, 0);
20 }
21 void TearDown()
22 {
23

Callers

nothing calls this directly

Calls 6

addRoundRectMethod · 0.60
addOvalMethod · 0.60
addCircleMethod · 0.60
addPolygonMethod · 0.60
addPolystarMethod · 0.60
addRectMethod · 0.45

Tested by

no test coverage detected