71
|
1 |
diff -ur wxsvg-1.0b7-orig/include/wxSVG/SVGLength.h wxsvg-1.0b7/include/wxSVG/SVGLength.h
|
|
2 |
--- wxsvg-1.0b7-orig/include/wxSVG/SVGLength.h 2005-07-29 03:09:58.000000000 +0700
|
|
3 |
+++ wxsvg-1.0b7/include/wxSVG/SVGLength.h 2006-11-23 11:25:15.821208390 +0700
|
|
4 |
@@ -62,7 +62,7 @@
|
|
5 |
inline void ToViewportSize(float viewportWidth, float viewportHeight)
|
|
6 |
{
|
|
7 |
m_value = m_valueInSpecifiedUnits*
|
|
8 |
- sqrt(viewportWidth*viewportWidth + viewportHeight*viewportHeight)/sqrt(2)/100;
|
|
9 |
+ sqrt(viewportWidth*viewportWidth + viewportHeight*viewportHeight)/sqrt((double)2)/100;
|
|
10 |
}
|
|
11 |
|
|
12 |
virtual void NewValueSpecifiedUnits(wxSVG_LENGTHTYPE unitType, double valueInSpecifiedUnits);
|