FastLED 3.9.15
Loading...
Searching...
No Matches

◆ CreateXYPaths()

fl::vector< fl::XYPathPtr > CreateXYPaths ( int width,
int height )

Definition at line 29 of file xypaths.cpp.

29 {
31 out.push_back(fl::XYPath::NewCirclePath(width, height));
32 out.push_back(fl::XYPath::NewRosePath(width, height));
33 out.push_back(fl::XYPath::NewHeartPath(width, height));
35 out.push_back(fl::XYPath::NewPhyllotaxisPath(width, height));
36 out.push_back(fl::XYPath::NewGielisCurvePath(width, height));
37 out.push_back(fl::XYPath::NewCatmullRomPath(width, height, make_path(width, height)));
38 return out;
39}
static XYPathPtr NewPhyllotaxisPath(u16 width=0, u16 height=0, const fl::shared_ptr< PhyllotaxisParams > &args=fl::make_shared< PhyllotaxisParams >())
static XYPathPtr NewHeartPath()
static XYPathPtr NewArchimedeanSpiralPath(u16 width, u16 height)
static XYPathPtr NewGielisCurvePath(u16 width=0, u16 height=0, const fl::shared_ptr< GielisCurveParams > &params=fl::make_shared< GielisCurveParams >())
static XYPathPtr NewCatmullRomPath(u16 width=0, u16 height=0, const fl::shared_ptr< CatmullRomParams > &params=fl::make_shared< CatmullRomParams >())
static XYPathPtr NewRosePath(u16 width=0, u16 height=0, const fl::shared_ptr< RosePathParams > &params=fl::make_shared< RosePathParams >())
static XYPathPtr NewCirclePath()
void push_back(const T &value) FL_NOEXCEPT
Definition vector.h:624
fl::shared_ptr< fl::CatmullRomParams > make_path(int width, int height)
Definition xypaths.cpp:11

References anonymous_namespace{xypaths.cpp}::make_path(), fl::XYPath::NewArchimedeanSpiralPath(), fl::XYPath::NewCatmullRomPath(), fl::XYPath::NewCirclePath(), fl::XYPath::NewGielisCurvePath(), fl::XYPath::NewHeartPath(), fl::XYPath::NewPhyllotaxisPath(), fl::XYPath::NewRosePath(), and fl::vector< T >::push_back().

+ Here is the call graph for this function: