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

◆ append() [28/37]

string & fl::string::append ( const Tile2x2_u8_wrap & tile)

Definition at line 332 of file str.cpp.

332 {
334 tile.at(0, 0),
335 tile.at(0, 1),
336 tile.at(1, 0),
337 tile.at(1, 1),
338 };
339
340 append("Tile2x2_u8_wrap(");
341 for (int i = 0; i < 4; i++) {
342 vec2<u16> pos = data[i].first;
343 u8 alpha = data[i].second;
344 append("(");
345 append(pos.x);
346 append(",");
347 append(pos.y);
348 append(",");
349 append(alpha);
350 append(")");
351 if (i < 3) {
352 append(",");
353 }
354 }
355 append(")");
356 return *this;
357}
uint8_t pos
Definition Blur.ino:11
fl::pair< vec2< u16 >, u8 > Entry
Definition tile2x2.h:108
string & append(const BitsetFixed< N > &bs)
Definition str.h:675
const char * data() const
Definition str.h:910
unsigned char u8
Definition int.h:17

References append(), fl::Tile2x2_u8_wrap::at(), data(), and pos.

+ Here is the call graph for this function: