| 219 | } |
| 220 | |
| 221 | XYPathPtr XYPath::NewGielisCurvePath(u16 width, u16 height, |
| 222 | const fl::shared_ptr<GielisCurveParams> ¶ms) { |
| 223 | GielisCurvePathPtr path = fl::make_shared<GielisCurvePath>(params); |
| 224 | XYPathPtr out = fl::make_shared<XYPath>(path); |
| 225 | if (width > 0 && height > 0) { |
| 226 | out->setDrawBounds(width, height); |
| 227 | } |
| 228 | return out; |
| 229 | } |
| 230 | |
| 231 | XYPathPtr XYPath::NewCatmullRomPath(u16 width, u16 height, |
| 232 | const fl::shared_ptr<CatmullRomParams> ¶ms) { |
nothing calls this directly
no test coverage detected