Merge pull request #5313 from sturkmen72:patch-5

This commit is contained in:
Vadim Pisarevsky 2015-09-09 10:39:25 +00:00
commit cba401fe53

View File

@ -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;