Skip to content

Commit c63f443

Browse files
committed
Update drawing.cpp
opencv#4791
1 parent abf30e4 commit c63f443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/imgproc/src/drawing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,7 @@ void circle( InputOutputArray _img, Point center, int radius,
17481748
double buf[4];
17491749
scalarToRawData(color, buf, img.type(), 0);
17501750

1751-
if( thickness > 1 || line_type >= CV_AA )
1751+
if( thickness > 1 || line_type >= CV_AA || shift > 0 )
17521752
{
17531753
center.x <<= XY_SHIFT - shift;
17541754
center.y <<= XY_SHIFT - shift;

0 commit comments

Comments
 (0)