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

◆ Draw()

void LedRopeTCL::Draw ( )

Definition at line 122 of file LedRopeTCL.cpp.

122 {
123 RawBeginDraw();
124
125 const Color3i* begin = GetIterator(0);
126 const Color3i* middle = GetIterator(draw_offset_);
127 const Color3i* end = GetIterator(length() - 1);
128
129 for (const Color3i* it = middle; it != end; ++it) {
130 RawDrawPixel(*it);
131 }
132 for (const Color3i* it = begin; it != middle; ++it) {
133 RawDrawPixel(*it);
134 }
136}
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: