Convenience alias for CRGB canvas — use fl::CanvasRGB for no-template syntax.
- Examples
- PerfDisc.ino.
Definition at line 105 of file gfx.h.
|
| FASTLED_FORCE_INLINE | Canvas (fl::shared_ptr< CRGB > ptr, int w, int h) |
| |
| FASTLED_FORCE_INLINE | Canvas (fl::span< CRGB > buf, int w, int h) |
| |
| FASTLED_FORCE_INLINE CRGB & | at (int x, int y) |
| |
| FASTLED_FORCE_INLINE const CRGB & | at (int x, int y) const |
| |
| FASTLED_FORCE_INLINE void | blurGaussian () |
| |
| FASTLED_FORCE_INLINE void | blurGaussian (alpha16 dimFactor) |
| |
| FASTLED_FORCE_INLINE void | blurGaussian (alpha8 dimFactor) |
| |
| FASTLED_FORCE_INLINE void | drawDisc (const CRGB &color, Coord cx, Coord cy, Coord r, DrawMode mode=DrawMode::DRAW_MODE_BLEND) |
| |
| FASTLED_FORCE_INLINE void | drawLine (const CRGB &color, Coord x0, Coord y0, Coord x1, Coord y1, DrawMode mode=DrawMode::DRAW_MODE_BLEND) |
| |
| FASTLED_FORCE_INLINE void | drawRing (const CRGB &color, Coord cx, Coord cy, Coord r, Coord thickness, DrawMode mode=DrawMode::DRAW_MODE_BLEND) |
| |
| FASTLED_FORCE_INLINE void | drawStrokeLine (const CRGB &color, Coord x0, Coord y0, Coord x1, Coord y1, Coord thickness, LineCap cap=LineCap::FLAT, DrawMode mode=DrawMode::DRAW_MODE_BLEND) |
| |
| FASTLED_FORCE_INLINE bool | has (int x, int y) const |
| |
| FASTLED_FORCE_INLINE int | size () const |
| |