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
c3ecce2e
Commit
c3ecce2e
authored
Sep 18, 2012
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eescheam: plot HPGL: add comments and minor fix.
parent
5590e1eb
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
252 additions
and
72 deletions
+252
-72
common_plotHPGL_functions.cpp
common/common_plotHPGL_functions.cpp
+250
-70
dialog_plot_schematic.cpp
eeschema/dialogs/dialog_plot_schematic.cpp
+1
-1
plot_schematic_HPGL.cpp
eeschema/plot_schematic_HPGL.cpp
+1
-1
No files found.
common/common_plotHPGL_functions.cpp
View file @
c3ecce2e
This diff is collapsed.
Click to expand it.
eeschema/dialogs/dialog_plot_schematic.cpp
View file @
c3ecce2e
...
@@ -88,7 +88,7 @@ void DIALOG_PLOT_SCHEMATIC::initDlg()
...
@@ -88,7 +88,7 @@ void DIALOG_PLOT_SCHEMATIC::initDlg()
// Set plot or not frame reference option
// Set plot or not frame reference option
m_config
->
Read
(
PLOT_FRAME_REFERENCE_KEY
,
&
tmp
,
true
);
m_config
->
Read
(
PLOT_FRAME_REFERENCE_KEY
,
&
tmp
,
true
);
setPlotFrameRef
(
t
rue
);
setPlotFrameRef
(
t
mp
);
// Set HPGL plot origin to center of paper of left bottom corner
// Set HPGL plot origin to center of paper of left bottom corner
m_config
->
Read
(
PLOT_HPGL_ORIGIN_KEY
,
&
tmp
,
false
);
m_config
->
Read
(
PLOT_HPGL_ORIGIN_KEY
,
&
tmp
,
false
);
...
...
eeschema/plot_schematic_HPGL.cpp
View file @
c3ecce2e
...
@@ -170,7 +170,7 @@ void DIALOG_PLOT_SCHEMATIC::createHPGLFile( bool aPlotAll )
...
@@ -170,7 +170,7 @@ void DIALOG_PLOT_SCHEMATIC::createHPGLFile( bool aPlotAll )
if
(
GetPlotOriginCenter
()
)
if
(
GetPlotOriginCenter
()
)
{
{
plotOffset
.
x
=
-
plotPage
.
GetWidthIU
()
/
2
;
plotOffset
.
x
=
plotPage
.
GetWidthIU
()
/
2
;
plotOffset
.
y
=
-
plotPage
.
GetHeightIU
()
/
2
;
plotOffset
.
y
=
-
plotPage
.
GetHeightIU
()
/
2
;
}
}
...
...
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