FastLED 3.9.15
Loading...
Searching...
No Matches

◆ Draw()

void LedRopeTCL::Draw ( )

Definition at line 124 of file LedRopeTCL.cpp.

124 {
125 RawBeginDraw();
126
127 const Color3i* begin = GetIterator(0);
128 const Color3i* middle = GetIterator(draw_offset_);
129 const Color3i* end = GetIterator(length() - 1);
130
131 for (const Color3i* it = middle; it != end; ++it) {
132 RawDrawPixel(*it);
133 }
134 for (const Color3i* it = begin; it != middle; ++it) {
135 RawDrawPixel(*it);
136 }
138}
void RawCommitDraw()
void RawDrawPixel(const Color3i &c)
Color3i * GetIterator(int i)
Definition LedRopeTCL.h:59
int length() const
Definition LedRopeTCL.h:63
int draw_offset_
Definition LedRopeTCL.h:73
void RawBeginDraw()

References draw_offset_, GetIterator(), length(), RawBeginDraw(), RawCommitDraw(), and RawDrawPixel().

+ Here is the call graph for this function: