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
747a3fa6
Commit
747a3fa6
authored
Mar 14, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
olved a bug in plot postscript format when drawing oblong pad
parent
8a71b1ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
change_log.txt
change_log.txt
+2
-0
plotps.cpp
pcbnew/plotps.cpp
+2
-2
No files found.
change_log.txt
View file @
747a3fa6
...
...
@@ -9,6 +9,8 @@ email address.
================================================================================
+pcbnew
Added a tool to the upper toolbar which gives and easy access to freeroute
Solved a bug in plot postscript format when drawing oblong pads:
Bad oblong pad size after drawing a round pad
2008-Mar-13 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
...
...
pcbnew/plotps.cpp
View file @
747a3fa6
...
...
@@ -573,7 +573,7 @@ void trace_1_pastille_RONDE_POST( wxPoint centre, int diametre, int modetrace )
if
(
modetrace
==
FILLED
)
{
fprintf
(
dest
,
"%d setlinewidth
\n
"
,
g_PlotLine_Width
);
SetCurrentLineWidthPS
(
0
);
rayon
=
diam
.
x
/
2
;
if
(
rayon
<
1
)
rayon
=
1
;
...
...
@@ -588,7 +588,7 @@ void trace_1_pastille_RONDE_POST( wxPoint centre, int diametre, int modetrace )
rayon
=
1
;
if
(
rayon
<
w
)
w
=
rayon
;
fprintf
(
dest
,
"%d setlinewidth
\n
"
,
w
);
SetCurrentLineWidthPS
(
w
);
fprintf
(
dest
,
"newpath %d %d %d 0 360 arc stroke
\n
"
,
centre
.
x
,
centre
.
y
,
rayon
);
}
...
...
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