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
bf841d6f
Commit
bf841d6f
authored
Mar 02, 2010
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed plot postscript problem in user size page format
parent
56d95e00
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
common_plotPS_functions.cpp
common/common_plotPS_functions.cpp
+3
-3
No files found.
common/common_plotPS_functions.cpp
View file @
bf841d6f
...
...
@@ -323,12 +323,12 @@ void PS_PLOTTER::start_plot( FILE* fout )
//
// (NOTE: m_Size.y is *supposed* to be listed before m_Size.x;
// the order in which they are specified is not wrong!)
// Also note sheet->m_Size is given in mils, not in decim
a
ls and must be
// Also note sheet->m_Size is given in mils, not in decim
i
ls and must be
// sheet->m_Size * 10 in decimals
if
(
sheet
->
m_Name
.
Cmp
(
wxT
(
"User"
)
)
==
0
)
fprintf
(
output_file
,
"%%%%DocumentMedia: Custom %d %d 0 () ()
\n
"
,
wxRound
(
sheet
->
m_Size
.
y
*
CONV_SCALE
),
wxRound
(
sheet
->
m_Size
.
x
*
CONV_SCALE
)
);
wxRound
(
sheet
->
m_Size
.
y
*
10
*
CONV_SCALE
),
wxRound
(
sheet
->
m_Size
.
x
*
10
*
CONV_SCALE
)
);
else
// ( if sheet->m_Name does not equal "User" )
fprintf
(
output_file
,
"%%%%DocumentMedia: %s %d %d 0 () ()
\n
"
,
...
...
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