FastLED 3.9.15
Loading...
Searching...
No Matches
fl::XYPathFunction Class Reference

Detailed Description

Definition at line 141 of file xypath.h.

#include <xypath.h>

+ Inheritance diagram for fl::XYPathFunction:
+ Collaboration diagram for fl::XYPathFunction:

Public Member Functions

 XYPathFunction (fl::function< vec2f(float)> f)
 
vec2f compute (float alpha) override
 
fl::rect< int > drawBounds () const
 
bool hasDrawBounds (fl::rect< int > *bounds) override
 
const Str name () const override
 
void setDrawBounds (const fl::rect< int > &bounds)
 
void setName (const Str &name)
 
- Public Member Functions inherited from fl::Referent
virtual int ref_count () const
 

Private Attributes

fl::rect< int > mDrawBounds
 
fl::function< vec2f(float)> mFunction
 
fl::Str mName = "XYPathFunction Unnamed"
 

Additional Inherited Members

- Protected Member Functions inherited from fl::Referent
 Referent ()
 
 Referent (const Referent &)
 
 Referent (Referent &&)
 
virtual ~Referent ()
 
virtual void destroy () const
 
Referentoperator= (const Referent &)
 
Referentoperator= (Referent &&)
 
virtual void ref () const
 
virtual void unref () const
 

The documentation for this class was generated from the following file: