Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
39baac85
Commit
39baac85
authored
Jul 16, 2010
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some more 64-bit related VS2010 warnings
parent
29060231
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
adrawing.cpp
tests/cv/src/adrawing.cpp
+6
-6
No files found.
tests/cv/src/adrawing.cpp
View file @
39baac85
...
...
@@ -113,7 +113,7 @@ void CV_DrawingTest_CPP::draw( Mat& img )
polyline
[
2
]
=
Point
(
imgSize
.
width
,
imgSize
.
height
);
polyline
[
3
]
=
Point
(
0
,
imgSize
.
height
);
const
Point
*
pts
=
&
polyline
[
0
];
int
n
=
polyline
.
size
();
int
n
=
(
int
)
polyline
.
size
();
fillPoly
(
img
,
&
pts
,
&
n
,
1
,
Scalar
::
all
(
255
)
);
Point
p1
(
1
,
1
),
p2
(
3
,
3
);
...
...
@@ -137,7 +137,7 @@ void CV_DrawingTest_CPP::draw( Mat& img )
polyline
.
clear
();
ellipse2Poly
(
Point
(
430
,
180
),
Size
(
100
,
150
),
30
,
0
,
150
,
20
,
polyline
);
pts
=
&
polyline
[
0
];
n
=
polyline
.
size
();
n
=
(
int
)
polyline
.
size
();
polylines
(
img
,
&
pts
,
&
n
,
1
,
false
,
Scalar
(
0
,
0
,
150
),
4
,
CV_AA
);
n
=
0
;
for
(
vector
<
Point
>::
const_iterator
it
=
polyline
.
begin
();
n
<
(
int
)
polyline
.
size
()
-
1
;
++
it
,
n
++
)
...
...
@@ -148,7 +148,7 @@ void CV_DrawingTest_CPP::draw( Mat& img )
polyline
.
clear
();
ellipse2Poly
(
Point
(
500
,
300
),
Size
(
50
,
80
),
0
,
0
,
180
,
10
,
polyline
);
pts
=
&
polyline
[
0
];
n
=
polyline
.
size
();
n
=
(
int
)
polyline
.
size
();
polylines
(
img
,
&
pts
,
&
n
,
1
,
true
,
Scalar
(
100
,
200
,
100
),
20
);
fillConvexPoly
(
img
,
pts
,
n
,
Scalar
(
0
,
80
,
0
)
);
...
...
@@ -262,7 +262,7 @@ void CV_DrawingTest_C::draw( Mat& _img )
polyline
[
2
]
=
cvPoint
(
imgSize
.
width
,
imgSize
.
height
);
polyline
[
3
]
=
cvPoint
(
0
,
imgSize
.
height
);
CvPoint
*
pts
=
&
polyline
[
0
];
int
n
=
polyline
.
size
();
int
n
=
(
int
)
polyline
.
size
();
cvFillPoly
(
&
img
,
&
pts
,
&
n
,
1
,
cvScalar
(
255
,
255
,
255
)
);
CvPoint
p1
=
cvPoint
(
1
,
1
),
p2
=
cvPoint
(
3
,
3
);
...
...
@@ -291,7 +291,7 @@ void CV_DrawingTest_C::draw( Mat& _img )
polyline
.
resize
(
9
);
pts
=
&
polyline
[
0
];
n
=
polyline
.
size
();
n
=
(
int
)
polyline
.
size
();
assert
(
cvEllipse2Poly
(
cvPoint
(
430
,
180
),
cvSize
(
100
,
150
),
30
,
0
,
150
,
&
polyline
[
0
],
20
)
==
n
);
cvPolyLine
(
&
img
,
&
pts
,
&
n
,
1
,
false
,
cvScalar
(
0
,
0
,
150
),
4
,
CV_AA
);
n
=
0
;
...
...
@@ -302,7 +302,7 @@ void CV_DrawingTest_C::draw( Mat& _img )
polyline
.
resize
(
19
);
pts
=
&
polyline
[
0
];
n
=
polyline
.
size
();
n
=
(
int
)
polyline
.
size
();
assert
(
cvEllipse2Poly
(
cvPoint
(
500
,
300
),
cvSize
(
50
,
80
),
0
,
0
,
180
,
&
polyline
[
0
],
10
)
==
n
);
cvPolyLine
(
&
img
,
&
pts
,
&
n
,
1
,
true
,
Scalar
(
100
,
200
,
100
),
20
);
cvFillConvexPoly
(
&
img
,
pts
,
n
,
cvScalar
(
0
,
80
,
0
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment