Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
658ff605
Commit
658ff605
authored
Jun 12, 2010
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix warnings
parent
534bb97d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bitmap2component.cpp
bitmap2component/bitmap2component.cpp
+2
-2
No files found.
bitmap2component/bitmap2component.cpp
View file @
658ff605
...
...
@@ -395,7 +395,7 @@ static void OuputOnePolygon( BITMAPCONV_INFO& aInfo,
int
width
=
1
;
fprintf
(
aInfo
.
m_Outfile
,
"DP %d %d %d %d %d %d %d
\n
"
,
0
,
0
,
0
,
0
,
aPolygonBuffer
.
size
()
+
1
,
int
(
aPolygonBuffer
.
size
()
+
1
)
,
width
,
layer
);
for
(
ii
=
0
;
ii
<
aPolygonBuffer
.
size
();
ii
++
)
...
...
@@ -410,7 +410,7 @@ static void OuputOnePolygon( BITMAPCONV_INFO& aInfo,
break
;
case
EESCHEMA_FMT
:
fprintf
(
aInfo
.
m_Outfile
,
"P %d 0 0 1"
,
aPolygonBuffer
.
size
()
+
1
);
fprintf
(
aInfo
.
m_Outfile
,
"P %d 0 0 1"
,
int
(
aPolygonBuffer
.
size
()
+
1
)
);
for
(
ii
=
0
;
ii
<
aPolygonBuffer
.
size
();
ii
++
)
fprintf
(
aInfo
.
m_Outfile
,
" %d %d"
,
(
int
)
(
aPolygonBuffer
[
ii
].
x
*
aInfo
.
m_ScaleX
-
offsetX
),
...
...
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