projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fefc53
)
Update drawing.cpp
author
Suleyman TURKMEN
<sturkmen@hotmail.com>
Mon, 7 Sep 2015 08:33:29 +0000
(11:33 +0300)
committer
Suleyman TURKMEN
<sturkmen@hotmail.com>
Mon, 7 Sep 2015 08:33:29 +0000
(11:33 +0300)
https://github.com/Itseez/opencv/issues/4791
modules/core/src/drawing.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/drawing.cpp
b/modules/core/src/drawing.cpp
index
bd8f171
..
739528d
100644
(file)
--- a/
modules/core/src/drawing.cpp
+++ b/
modules/core/src/drawing.cpp
@@
-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;