FastLED 3.9.15
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 807 of file primitives.h.

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

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

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

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