FastLED 3.10.8
Loading...
Searching...
No Matches

◆ drawRing()

template<typename PixelT, typename Coord>
void fl::gfx::drawRing ( Canvas< PixelT > & canvas,
const PixelT & color,
Coord cx,
Coord cy,
Coord r,
Coord thickness,
fl::DrawMode mode = fl::DrawMode::DRAW_MODE_BLEND )
inline

Definition at line 809 of file primitives.h.

811 {
813 detail::drawRingCore<PixelT, Coord, true>(canvas, color, cx, cy, r, thickness);
814 else
815 detail::drawRingCore<PixelT, Coord, false>(canvas, color, cx, cy, r, thickness);
816}
void drawRingCore(Canvas< PixelT > &canvas, const PixelT &color, Coord cx, Coord cy, Coord r, Coord thickness) FL_NO_EXCEPT
Definition primitives.h:734
@ DRAW_MODE_OVERWRITE
Definition draw_mode.h:5

References fl::DRAW_MODE_OVERWRITE, fl::gfx::detail::drawRingCore(), and fl::FL_NO_EXCEPT.

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

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