Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I would use the function cv::line. It draws a line between two points. So you set the first point to the center of the circle, and calculate 256 points along the edge of the circle. Then you draw a line between the center and each of those points with a steadily increasing value for the color parameter. You can change the thickness if the radius is too large for thickness one.