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
436c17f6
Commit
436c17f6
authored
Sep 20, 2012
by
Craig Southeren
Committed by
Dick Hollenbeck
Sep 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This fixes a MSVC compile error caused by a static scalar initialiser.
parent
534c8a89
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
common_plotPS_functions.cpp
common/common_plotPS_functions.cpp
+3
-0
plot_common.h
include/plot_common.h
+1
-1
No files found.
common/common_plotPS_functions.cpp
View file @
436c17f6
...
...
@@ -19,6 +19,9 @@ extern const double hvb_widths[256];
extern
const
double
hvo_widths
[
256
];
extern
const
double
hvbo_widths
[
256
];
const
double
PSLIKE_PLOTTER
::
postscriptTextAscent
=
0.718
;
// Common routines for Postscript-like plotting engines
void
PSLIKE_PLOTTER
::
SetDefaultLineWidth
(
int
width
)
...
...
include/plot_common.h
View file @
436c17f6
...
...
@@ -533,7 +533,7 @@ protected:
virtual
void
emitSetRGBColor
(
double
r
,
double
g
,
double
b
)
=
0
;
/// Height of the postscript font (from the AFM)
static
const
double
postscriptTextAscent
=
0
.
718
;
static
const
double
postscriptTextAscent
;
//
= 0.718;
int
returnPostscriptTextWidth
(
const
wxString
&
aText
,
int
aXSize
,
bool
aItalic
,
bool
aBold
);
...
...
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