|
FastLED 3.9.15
|
XYMap-backed canvas for non-rectangular or remapped layouts.
Uses XYMap for all pixel access — no SIMD or cache-layout optimizations. With a rectangular XYMap, produces identical results to Canvas<RGB_T>.
#include <canvas.h>
Collaboration diagram for fl::gfx::CanvasMapped< RGB_T >:Public Member Functions | |
| CanvasMapped (fl::span< RGB_T > buf, const XYMap &map) FL_NOEXCEPT | |
| const RGB_T & | at (int x, int y) const FL_NOEXCEPT |
| RGB_T & | at (int x, int y) FL_NOEXCEPT |
| template<int hRadius, int vRadius> | |
| void | blurGaussian () FL_NOEXCEPT |
| template<int hRadius, int vRadius> | |
| void | blurGaussian (fl::alpha16 dimFactor) FL_NOEXCEPT |
| template<int hRadius, int vRadius> | |
| void | blurGaussian (fl::alpha8 dimFactor) FL_NOEXCEPT |
| bool | has (int x, int y) const FL_NOEXCEPT |
| int | size () const FL_NOEXCEPT |
Public Attributes | |
| int | height |
| fl::span< RGB_T > | pixels |
| int | width |
| const XYMap * | xymap |