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

◆ drawLine()

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

Definition at line 102 of file canvas.h.

103 {
104 gfx::drawLine(*this, color, x0, y0, x1, y1, mode);
105 }
void drawLine(Canvas< PixelT > &canvas, const PixelT &color, Coord x0, Coord y0, Coord x1, Coord y1, fl::DrawMode mode=fl::DrawMode::DRAW_MODE_BLEND) FL_NOEXCEPT
============================================================================
Definition primitives.h:643
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::drawLine(), and FL_NOEXCEPT.

+ Here is the call graph for this function: