33 if (tiles.size() == 0) {
42 for (
const auto &tile : tiles) {
52 for (
int x = 0;
x < 2; ++
x) {
53 for (
int y = 0;
y < 2; ++
y) {
58 int xx = origin.
x +
x;
59 int yy = origin.
y +
y;
60 if (optional_bounds && !optional_bounds->contains(xx, yy)) {
74 if (!
xymap.has(pt.x, pt.y)) {
77 u32 index =
xymap(pt.x, pt.y);
void draw(const XYMap &xymap, fl::span< CRGB > out) FL_NO_EXCEPT
void rasterize_internal(const Tile2x2_u8 &tile, const rect< u16 > *optional_bounds=nullptr) FL_NO_EXCEPT
fl::rect< u16 > mAbsoluteBounds
void write(const vec2< u16 > &pt, u8 value) FL_NO_EXCEPT
void draw(const CRGB &color, const XYMap &xymap, fl::span< CRGB > out) FL_NO_EXCEPT
void rasterize(const vec2< u16 > &pt, u8 value) FL_NO_EXCEPT
void drawGradient(const Gradient &gradient, const XYMap &xymap, fl::span< CRGB > out) FL_NO_EXCEPT
u8 u8 fract8 blur_amount FL_NO_EXCEPT
constexpr int type_rank< T >::value
Base definition for an LED controller.
Representation of an 8-bit RGB pixel (Red, Green, Blue)