FastLED 3.10.10
Loading...
Searching...
No Matches

◆ drawPolygon() [1/2]

template<typename RGB_T>
template<typename Coord, int N, int MAXN = FL_GFX_POLYGON_DEFAULT_MAXN, int CHUNK = FL_GFX_POLYGON_DEFAULT_CHUNK, PolyFill Fill = PolyFill::Exact>
void fl::gfx::Canvas< RGB_T >::drawPolygon ( const RGB_T & color,
const PolyPoint< Coord >(&) pts[N],
fl::DrawMode mode = fl::DrawMode::DRAW_MODE_BLEND )
inline

Definition at line 208 of file canvas.h.

209 {
211 }
void drawPolygon(Canvas< PixelT > &canvas, const PixelT &color, fl::span< const PolyPoint< Coord > > pts, fl::DrawMode mode=fl::DrawMode::DRAW_MODE_BLEND) FL_NO_EXCEPT
Fill selects the polygon backend (PolyFill::Exact by default; PolyFill::ABuffer for the faster 8x4 A-...
Simple rectangular canvas for graphics operations Combines a pixel buffer with dimensions for cache-o...
Definition canvas.h:138

References fl::DRAW_MODE_BLEND, fl::gfx::drawPolygon(), and fl::FL_NO_EXCEPT.

+ Here is the call graph for this function: