Update drawing.cpp

https://github.com/Itseez/opencv/issues/4791
This commit is contained in:
Suleyman TURKMEN 2015-09-07 11:30:14 +03:00
parent abf30e44cd
commit c63f443bba

View File

@ -1748,7 +1748,7 @@ void circle( InputOutputArray _img, Point center, int radius,
double buf[4]; double buf[4];
scalarToRawData(color, buf, img.type(), 0); 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.x <<= XY_SHIFT - shift;
center.y <<= XY_SHIFT - shift; center.y <<= XY_SHIFT - shift;