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:442
static XYPathPtr NewGielisCurvePath(uint16_t width=0, uint16_t height=0, const Ptr< GielisCurveParams > &params=NewPtr< GielisCurveParams >())
Definition xypath.cpp:207
static XYPathPtr NewHeartPath()
Definition xypath.cpp:162
static XYPathPtr NewArchimedeanSpiralPath(uint16_t width, uint16_t height)
Definition xypath.cpp:174
static XYPathPtr NewCatmullRomPath(uint16_t width=0, uint16_t height=0, const Ptr< CatmullRomParams > &params=NewPtr< CatmullRomParams >())
Definition xypath.cpp:217
static XYPathPtr NewPhyllotaxisPath(uint16_t width=0, uint16_t height=0, const Ptr< PhyllotaxisParams > &args=NewPtr< PhyllotaxisParams >())
Definition xypath.cpp:197
static XYPathPtr NewRosePath(uint16_t width=0, uint16_t height=0, const Ptr< RosePathParams > &params=NewPtr< RosePathParams >())
Definition xypath.cpp:187
static XYPathPtr NewCirclePath()
Definition xypath.cpp:150
Ptr< CatmullRomParams > make_path(int width, int height)
Definition xypaths.cpp:13
HeapVector< T > vector
Definition vector.h:1028

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 >::push_back().

+ Here is the call graph for this function: