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

◆ append() [30/39]

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

Definition at line 273 of file string.cpp.hpp.

273 {
275 tile.at(0, 0),
276 tile.at(0, 1),
277 tile.at(1, 0),
278 tile.at(1, 1),
279 };
280
281 append("Tile2x2_u8_wrap(");
282 for (int i = 0; i < 4; i++) {
283 vec2<u16> pos = data[i].first;
284 u8 alpha = data[i].second;
285 append("(");
286 append(pos.x);
287 append(",");
288 append(pos.y);
289 append(",");
290 append(alpha);
291 append(")");
292 if (i < 3) {
293 append(",");
294 }
295 }
296 append(")");
297 return *this;
298}
uint8_t pos
Definition Blur.ino:11
fl::pair< vec2< u16 >, u8 > Entry
Definition tile2x2.h:103
const char * data() const FL_NOEXCEPT
string & append(const bitset_fixed< N > &bs) FL_NOEXCEPT
Definition string.h:284
unsigned char u8
Definition stdint.h:131

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

+ Here is the call graph for this function: