MCPcopy Create free account
hub / github.com/FastLED/FastLED / NewGielisCurvePath

Method NewGielisCurvePath

src/fl/gfx/xypath.cpp.hpp:221–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221XYPathPtr XYPath::NewGielisCurvePath(u16 width, u16 height,
222 const fl::shared_ptr<GielisCurveParams> &params) {
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
231XYPathPtr XYPath::NewCatmullRomPath(u16 width, u16 height,
232 const fl::shared_ptr<CatmullRomParams> &params) {

Callers

nothing calls this directly

Calls 1

setDrawBoundsMethod · 0.45

Tested by

no test coverage detected