| 97 | }; |
| 98 | |
| 99 | int |
| 100 | main(void) |
| 101 | { |
| 102 | APP = new EvasApp(800, 800); |
| 103 | ecore_evas_callback_resize_set(APP->mEcoreEvas, _on_resize); |
| 104 | APP->setup(); |
| 105 | |
| 106 | VPath path; |
| 107 | path.addRoundRect(VRectF(100, 100, 200, 200), 20, 20, VPath::Direction::CCW); |
| 108 | path.addCircle(50, 50, 20, VPath::Direction::CCW); |
| 109 | |
| 110 | path.addOval(VRectF(300, 100, 100, 50), VPath::Direction::CCW); |
| 111 | |
| 112 | path.addPolystar(15.0, 106.0, 34.0, 0.0, 150, |
| 113 | 150, 231.0, 88.0, VPath::Direction::CW); |
| 114 | |
| 115 | PathTest test(APP); |
| 116 | test.setPath(path); |
| 117 | test.setColor(255, 0, 0, 255); |
| 118 | test.setStrokeColor(200, 200, 0, 200); |
| 119 | test.setStrokeWidth(5); |
| 120 | |
| 121 | |
| 122 | APP->run(); |
| 123 | delete APP; |
| 124 | return 0; |
| 125 | } |
| 126 | |
| 127 | |
| 128 |
nothing calls this directly
no test coverage detected