Definition at line 38 of file xypath.h.
|
| | XYPath (XYPathGeneratorPtr path, TransformFloat transform=TransformFloat()) |
| |
| virtual | ~XYPath () |
| |
| vec2f | at (float alpha) |
| |
| vec2f | at (float alpha, const TransformFloat &tx) |
| |
| xy_brightness | at_brightness (float alpha) |
| |
| Tile2x2_u8 | at_subpixel (float alpha) |
| |
| void | drawColor (const CRGB &color, float from, float to, Leds *leds, int steps=-1) |
| |
| void | drawGradient (const Gradient &gradient, float from, float to, Leds *leds, int steps=-1) |
| |
| bool | hasDrawBounds () const |
| |
| string | name () const |
| |
| void | rasterize (float from, float to, int steps, XYRasterU8Sparse &raster, AlphaFunction *optional_alpha_gen=nullptr) |
| |
| void | setDrawBounds (u16 width, u16 height) |
| |
| void | setScale (float scale) |
| |
| void | setTransform (const TransformFloat &transform) |
| |
| TransformFloat & | transform () |
| |
|
| static XYPathPtr | NewArchimedeanSpiralPath () |
| |
| static XYPathPtr | NewArchimedeanSpiralPath (u16 width, u16 height) |
| |
| static XYPathPtr | NewCatmullRomPath (u16 width=0, u16 height=0, const fl::shared_ptr< CatmullRomParams > ¶ms=fl::make_shared< CatmullRomParams >()) |
| |
| static XYPathPtr | NewCirclePath () |
| |
| static XYPathPtr | NewCirclePath (u16 width, u16 height) |
| |
| static XYPathPtr | NewCustomPath (const fl::function< vec2f(float)> &path, const rect< i16 > &drawbounds=rect< i16 >(), const TransformFloat &transform=TransformFloat(), const char *name=nullptr) |
| |
| static XYPathPtr | NewGielisCurvePath (u16 width=0, u16 height=0, const fl::shared_ptr< GielisCurveParams > ¶ms=fl::make_shared< GielisCurveParams >()) |
| |
| static XYPathPtr | NewHeartPath () |
| |
| static XYPathPtr | NewHeartPath (u16 width, u16 height) |
| |
| static XYPathPtr | NewLinePath (const fl::shared_ptr< LinePathParams > ¶ms=fl::make_shared< LinePathParams >()) |
| |
| static XYPathPtr | NewLinePath (float x0, float y0, float x1, float y1) |
| |
| static XYPathPtr | NewPhyllotaxisPath (u16 width=0, u16 height=0, const fl::shared_ptr< PhyllotaxisParams > &args=fl::make_shared< PhyllotaxisParams >()) |
| |
| static XYPathPtr | NewPointPath (float x, float y) |
| |
| static XYPathPtr | NewRosePath (u16 width=0, u16 height=0, const fl::shared_ptr< RosePathParams > ¶ms=fl::make_shared< RosePathParams >()) |
| |