| 209 | } |
| 210 | |
| 211 | XYPathPtr XYPath::NewPhyllotaxisPath(u16 width, u16 height, |
| 212 | const fl::shared_ptr<PhyllotaxisParams> &args) { |
| 213 | PhyllotaxisPathPtr path = fl::make_shared<PhyllotaxisPath>(args); |
| 214 | XYPathPtr out = fl::make_shared<XYPath>(path); |
| 215 | if (width > 0 && height > 0) { |
| 216 | out->setDrawBounds(width, height); |
| 217 | } |
| 218 | return out; |
| 219 | } |
| 220 | |
| 221 | XYPathPtr XYPath::NewGielisCurvePath(u16 width, u16 height, |
| 222 | const fl::shared_ptr<GielisCurveParams> ¶ms) { |
nothing calls this directly
no test coverage detected