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

◆ drawStrokeLine()

template<typename PixelT, typename Coord>
void fl::gfx::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 )
inline

Definition at line 896 of file primitives.h.

898 {
900 detail::drawStrokeLineCore<PixelT, Coord, true>(canvas, color, x0, y0, x1, y1, thickness, cap);
901 else
902 detail::drawStrokeLineCore<PixelT, Coord, false>(canvas, color, x0, y0, x1, y1, thickness, cap);
903}
void drawStrokeLineCore(Canvas< PixelT > &canvas, const PixelT &color, Coord x0, Coord y0, Coord x1, Coord y1, Coord thickness, LineCap cap)
Definition primitives.h:820
@ DRAW_MODE_OVERWRITE
Definition draw_mode.h:5

References fl::DRAW_MODE_OVERWRITE, and fl::gfx::detail::drawStrokeLineCore().

Referenced by fl::gfx::Canvas< RGB_T >::drawStrokeLine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: