93 XYPath(XYPathGeneratorPtr path,
fl::UISlider scale("Scale", 4,.1, 4,.1)
vec2f at(float alpha) FL_NO_EXCEPT
static XYPathPtr NewGielisCurvePath(u16 width=0, u16 height=0, const fl::shared_ptr< GielisCurveParams > ¶ms=fl::make_shared< GielisCurveParams >()) FL_NO_EXCEPT
string name() const FL_NO_EXCEPT
static XYPathPtr NewCustomPath(const fl::function< vec2f(float)> &path, const rect< i16 > &drawbounds=rect< i16 >(), const TransformFloat &transform=TransformFloat(), const char *name=nullptr) FL_NO_EXCEPT
Tile2x2_u8 at_subpixel(float alpha) FL_NO_EXCEPT
void drawGradient(const Gradient &gradient, float from, float to, Leds *leds, int steps=-1) FL_NO_EXCEPT
xy_brightness at_brightness(float alpha) FL_NO_EXCEPT
static XYPathPtr NewRosePath(u16 width=0, u16 height=0, const fl::shared_ptr< RosePathParams > ¶ms=fl::make_shared< RosePathParams >()) FL_NO_EXCEPT
static XYPathPtr NewCatmullRomPath(u16 width=0, u16 height=0, const fl::shared_ptr< CatmullRomParams > ¶ms=fl::make_shared< CatmullRomParams >()) FL_NO_EXCEPT
TransformFloat & transform() FL_NO_EXCEPT
scoped_ptr< XYRasterU8Sparse > mOptionalRaster
fl::pair< vec2f, u8 > xy_brightness
static XYPathPtr NewPhyllotaxisPath(u16 width=0, u16 height=0, const fl::shared_ptr< PhyllotaxisParams > &args=fl::make_shared< PhyllotaxisParams >()) FL_NO_EXCEPT
void rasterize(float from, float to, int steps, XYRasterU8Sparse &raster, AlphaFunction *optional_alpha_gen=nullptr) FL_NO_EXCEPT
XYPath(XYPathGeneratorPtr path, TransformFloat transform=TransformFloat()) FL_NO_EXCEPT
static XYPathPtr NewHeartPath() FL_NO_EXCEPT
static XYPathPtr NewPointPath(float x, float y) FL_NO_EXCEPT
void setScale(float scale) FL_NO_EXCEPT
XYPathRendererPtr mPathRenderer
fl::function< u8(float)> AlphaFunction
static XYPathPtr NewArchimedeanSpiralPath(u16 width, u16 height) FL_NO_EXCEPT
static XYPathPtr NewCirclePath() FL_NO_EXCEPT
void drawColor(const CRGB &color, float from, float to, Leds *leds, int steps=-1) FL_NO_EXCEPT
static XYPathPtr NewLinePath(float x0, float y0, float x1, float y1) FL_NO_EXCEPT
bool hasDrawBounds(fl::rect< i16 > *bounds) FL_NO_EXCEPT override
const string name() const FL_NO_EXCEPT override
fl::function< vec2f(float)> mFunction
fl::rect< i16 > mDrawBounds
void setDrawBounds(const fl::rect< i16 > &bounds) FL_NO_EXCEPT
vec2f compute(float alpha) FL_NO_EXCEPT override
fl::rect< i16 > drawBounds() const FL_NO_EXCEPT
void setName(const string &name) FL_NO_EXCEPT
XYPathFunction(fl::function< vec2f(float)> f) FL_NO_EXCEPT
fl::UISlider steps("Steps", 100.0f, 1.0f, 200.0f, 1.0f)
fl::XYRaster raster(WIDTH, HEIGHT)
shared_ptr< T > make_shared(Args &&... args) FL_NO_EXCEPT
fl::string unique_missing_name(const char *prefix) FL_NO_EXCEPT
u8 u8 fract8 blur_amount FL_NO_EXCEPT
unique_ptr< T, Deleter > scoped_ptr
Base definition for an LED controller.
#define FASTLED_SHARED_PTR(type)
Representation of an 8-bit RGB pixel (Red, Green, Blue)