mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 03:33:28 +08:00
parent
6fefc53e56
commit
9df5400200
@ -1739,7 +1739,7 @@ void circle( Mat& 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user