From 9df54002001c9e0e4c48a934fdbf94888e8dbb3b Mon Sep 17 00:00:00 2001 From: Suleyman TURKMEN Date: Mon, 7 Sep 2015 11:33:29 +0300 Subject: [PATCH] Update drawing.cpp https://github.com/Itseez/opencv/issues/4791 --- modules/core/src/drawing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/drawing.cpp b/modules/core/src/drawing.cpp index bd8f171b1..739528d85 100644 --- a/modules/core/src/drawing.cpp +++ b/modules/core/src/drawing.cpp @@ -1739,7 +1739,7 @@ void circle( Mat& img, Point center, int radius, double buf[4]; scalarToRawData(color, buf, img.type(), 0); - if( thickness > 1 || line_type >= CV_AA ) + if( thickness > 1 || line_type >= CV_AA || shift > 0 ) { center.x <<= XY_SHIFT - shift; center.y <<= XY_SHIFT - shift;