From: Suleyman TURKMEN Date: Mon, 7 Sep 2015 08:30:14 +0000 (+0300) Subject: Update drawing.cpp X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~2278^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c63f443bbab67c3ec2a6a48879f5835334aaf7ff;p=platform%2Fupstream%2Fopencv.git Update drawing.cpp https://github.com/Itseez/opencv/issues/4791 --- diff --git a/modules/imgproc/src/drawing.cpp b/modules/imgproc/src/drawing.cpp index 7f90635..c2db764 100644 --- a/modules/imgproc/src/drawing.cpp +++ b/modules/imgproc/src/drawing.cpp @@ -1748,7 +1748,7 @@ void circle( InputOutputArray _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;