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
45f0cf0d
Commit
45f0cf0d
authored
Jan 06, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7959 from alalek:fix_7957
parents
9be63046
fa36b9d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
drawing.cpp
modules/imgproc/src/drawing.cpp
+6
-0
No files found.
modules/imgproc/src/drawing.cpp
View file @
45f0cf0d
...
...
@@ -1171,6 +1171,9 @@ FillConvexPoly( Mat& img, const Point2l* v, int npts, const void* color, int lin
edge
[
0
].
di
=
1
;
edge
[
1
].
di
=
npts
-
1
;
edge
[
0
].
x
=
edge
[
1
].
x
=
-
XY_ONE
;
edge
[
0
].
dx
=
edge
[
1
].
dx
=
0
;
ptr
+=
img
.
step
*
y
;
do
...
...
@@ -1213,6 +1216,9 @@ FillConvexPoly( Mat& img, const Point2l* v, int npts, const void* color, int lin
}
}
if
(
edges
<
0
)
break
;
if
(
y
>=
0
)
{
int
left
=
0
,
right
=
1
;
...
...
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