| 199 | } |
| 200 | |
| 201 | XYPathPtr XYPath::NewRosePath(u16 width, u16 height, |
| 202 | const fl::shared_ptr<RosePathParams> ¶ms) { |
| 203 | RosePathPtr path = fl::make_shared<RosePath>(params); |
| 204 | XYPathPtr out = fl::make_shared<XYPath>(path); |
| 205 | if (width > 0 && height > 0) { |
| 206 | out->setDrawBounds(width, height); |
| 207 | } |
| 208 | return out; |
| 209 | } |
| 210 | |
| 211 | XYPathPtr XYPath::NewPhyllotaxisPath(u16 width, u16 height, |
| 212 | const fl::shared_ptr<PhyllotaxisParams> &args) { |
nothing calls this directly
no test coverage detected