FastLED 3.9.7
Loading...
Searching...
No Matches
fl::Frame Class Reference

Detailed Description

Definition at line 18 of file frame.h.

+ Inheritance diagram for fl::Frame:

Public Member Functions

 Frame (int pixels_per_frame)
 
CRGBrgb ()
 
const CRGBrgb () const
 
size_t size () const
 
void copy (const Frame &other)
 
void interpolate (const Frame &frame1, const Frame &frame2, uint8_t amountOfFrame2)
 
void draw (CRGB *leds) const
 
- Public Member Functions inherited from fl::Referent
virtual int ref_count () const
 

Static Public Member Functions

static void interpolate (const Frame &frame1, const Frame &frame2, uint8_t amountofFrame2, CRGB *pixels)
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Frame()

fl::Frame::Frame ( int pixels_per_frame)
explicit

Definition at line 15 of file frame.cpp.

◆ ~Frame()

fl::Frame::~Frame ( )
override

Definition at line 21 of file frame.cpp.

Member Function Documentation

◆ copy()

void fl::Frame::copy ( const Frame & other)
inline

Definition at line 38 of file frame.h.

◆ draw()

void fl::Frame::draw ( CRGB * leds) const

Definition at line 27 of file frame.cpp.

◆ interpolate() [1/2]

void fl::Frame::interpolate ( const Frame & frame1,
const Frame & frame2,
uint8_t amountOfFrame2 )

Definition at line 53 of file frame.cpp.

◆ interpolate() [2/2]

void fl::Frame::interpolate ( const Frame & frame1,
const Frame & frame2,
uint8_t amountofFrame2,
CRGB * pixels )
static

Definition at line 34 of file frame.cpp.

◆ rgb() [1/2]

CRGB * fl::Frame::rgb ( )
inline

Definition at line 25 of file frame.h.

◆ rgb() [2/2]

const CRGB * fl::Frame::rgb ( ) const
inline

Definition at line 26 of file frame.h.

◆ size()

size_t fl::Frame::size ( ) const
inline

Definition at line 27 of file frame.h.


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