Commit 666de1b0 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #5312 from sturkmen72:patch-2

parents 894f922c c63f443b
...@@ -1748,7 +1748,7 @@ void circle( InputOutputArray _img, Point center, int radius, ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment