Go to the source code of this file.
Functions |
template<class Functor > |
void | BresenhamCircle (Functor &functor, int radius, bool filled) |
| Utility function that draws a circle using Bresenham's algorithm.
|
Function Documentation
Utility function that draws a circle using Bresenham's algorithm.
- Template Parameters:
-
Functor | the type of binary functor that should be used. |
- Parameters:
-
functor | the binary functor that will be called everytime a pixel should be drawn. |
radius | the radius of the circle to draw. |
filled | true if the circle should be filled, false if only the border should be drawn. |