This fixes a MSVC compile error caused by a static scalar initialiser.
This commit is contained in:
parent
534c8a8944
commit
436c17f60b
|
@ -19,6 +19,9 @@ extern const double hvb_widths[256];
|
||||||
extern const double hvo_widths[256];
|
extern const double hvo_widths[256];
|
||||||
extern const double hvbo_widths[256];
|
extern const double hvbo_widths[256];
|
||||||
|
|
||||||
|
const double PSLIKE_PLOTTER::postscriptTextAscent = 0.718;
|
||||||
|
|
||||||
|
|
||||||
// Common routines for Postscript-like plotting engines
|
// Common routines for Postscript-like plotting engines
|
||||||
|
|
||||||
void PSLIKE_PLOTTER::SetDefaultLineWidth( int width )
|
void PSLIKE_PLOTTER::SetDefaultLineWidth( int width )
|
||||||
|
|
|
@ -533,7 +533,7 @@ protected:
|
||||||
virtual void emitSetRGBColor( double r, double g, double b ) = 0;
|
virtual void emitSetRGBColor( double r, double g, double b ) = 0;
|
||||||
|
|
||||||
/// Height of the postscript font (from the AFM)
|
/// 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,
|
int returnPostscriptTextWidth( const wxString& aText, int aXSize,
|
||||||
bool aItalic, bool aBold );
|
bool aItalic, bool aBold );
|
||||||
|
|
Loading…
Reference in New Issue