MCPcopy Create free account
hub / github.com/FastLED/FastLED / Canvas

Method Canvas

src/fl/gfx/canvas.h:76–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 int height;
75
76 Canvas(fl::span<RGB_T> buf, int w, int h) FL_NOEXCEPT
77 : ownership(buf), pixels(buf.data()), width(w), height(h) {}
78 Canvas(fl::shared_ptr<RGB_T> ptr, int w, int h) FL_NOEXCEPT
79 : ownership(ptr), pixels(ptr.get()), width(w), height(h) {}
80

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected