FastLED 3.9.15
Loading...
Searching...
No Matches

◆ drawStrokeLine()

template<typename RGB_T>
template<typename Coord>
void fl::gfx::Canvas< RGB_T >::drawStrokeLine ( const RGB_T & color,
Coord x0,
Coord y0,
Coord x1,
Coord y1,
Coord thickness,
LineCap cap = LineCap::FLAT,
fl::DrawMode mode = fl::DrawMode::DRAW_MODE_BLEND )
inline

Definition at line 120 of file canvas.h.

121 {
123 }
void drawStrokeLine(Canvas< PixelT > &canvas, const PixelT &color, Coord x0, Coord y0, Coord x1, Coord y1, Coord thickness, LineCap cap, fl::DrawMode mode=fl::DrawMode::DRAW_MODE_BLEND) FL_NOEXCEPT
Definition primitives.h:896
Simple rectangular canvas for graphics operations Combines a pixel buffer with dimensions for cache-o...
Definition canvas.h:66

References fl::DRAW_MODE_BLEND, fl::gfx::drawStrokeLine(), and FL_NOEXCEPT.

+ Here is the call graph for this function: