Merge pull request #6808 from sturkmen72:patch-14

This commit is contained in:
Alexander Alekhin 2016-07-13 11:54:11 +00:00
commit 9c92f65c0b

View File

@ -1813,7 +1813,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 || shift > 0 ) if( thickness > 1 || line_type != LINE_8 || shift > 0 )
{ {
center.x <<= XY_SHIFT - shift; center.x <<= XY_SHIFT - shift;
center.y <<= XY_SHIFT - shift; center.y <<= XY_SHIFT - shift;