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

◆ CreateXYPaths()

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

Definition at line 31 of file xypaths.cpp.

31 {
33 out.push_back(XYPath::NewCirclePath(width, height));
34 out.push_back(XYPath::NewRosePath(width, height));
35 out.push_back(XYPath::NewHeartPath(width, height));
37 out.push_back(XYPath::NewPhyllotaxisPath(width, height));
38 out.push_back(XYPath::NewGielisCurvePath(width, height));
39 out.push_back(XYPath::NewCatmullRomPath(width, height, make_path(width, height)));
40 return out;
41}
void push_back(const T &value)
Definition vector.h:552
static XYPathPtr NewPhyllotaxisPath(u16 width=0, u16 height=0, const fl::shared_ptr< PhyllotaxisParams > &args=fl::make_shared< PhyllotaxisParams >())
Definition xypath.cpp:210
static XYPathPtr NewHeartPath()
Definition xypath.cpp:175
static XYPathPtr NewArchimedeanSpiralPath(u16 width, u16 height)
Definition xypath.cpp:187
static XYPathPtr NewGielisCurvePath(u16 width=0, u16 height=0, const fl::shared_ptr< GielisCurveParams > &params=fl::make_shared< GielisCurveParams >())
Definition xypath.cpp:220
static XYPathPtr NewCatmullRomPath(u16 width=0, u16 height=0, const fl::shared_ptr< CatmullRomParams > &params=fl::make_shared< CatmullRomParams >())
Definition xypath.cpp:230
static XYPathPtr NewRosePath(u16 width=0, u16 height=0, const fl::shared_ptr< RosePathParams > &params=fl::make_shared< RosePathParams >())
Definition xypath.cpp:200
static XYPathPtr NewCirclePath()
Definition xypath.cpp:163
fl::shared_ptr< CatmullRomParams > make_path(int width, int height)
Definition xypaths.cpp:13
HeapVector< T, Allocator > vector
Definition vector.h:1214

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::HeapVector< T, Allocator >::push_back().

+ Here is the call graph for this function: