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

Method NewPhyllotaxisPath

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

Source from the content-addressed store, hash-verified

209}
210
211XYPathPtr 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
221XYPathPtr XYPath::NewGielisCurvePath(u16 width, u16 height,
222 const fl::shared_ptr<GielisCurveParams> &params) {

Callers

nothing calls this directly

Calls 1

setDrawBoundsMethod · 0.45

Tested by

no test coverage detected