|
@@ -185,7 +185,14 @@ void _cmSvgWriterFlipY( cmSvg_t* p, unsigned height )
|
185
|
185
|
}
|
186
|
186
|
}
|
187
|
187
|
|
188
|
|
-
|
|
188
|
+/*
|
|
189
|
+ "<script type=\"text/javascript\" src=\"svg-pan-zoom.min.js\"></script>\n"
|
|
190
|
+ "<script>\n"
|
|
191
|
+ " var panZoom = null;\n"
|
|
192
|
+ " function doOnLoad() { panZoom = svgPanZoom(document.querySelector('#mysvg'), { controlIconsEnabled:true } ) }\n"
|
|
193
|
+ "</script>\n"
|
|
194
|
+
|
|
195
|
+ */
|
189
|
196
|
|
190
|
197
|
cmSvgRC_t cmSvgWriterWrite( cmSvgH_t h, const cmChar_t* cssFn, const cmChar_t* outFn )
|
191
|
198
|
{
|
|
@@ -204,11 +211,6 @@ cmSvgRC_t cmSvgWriterWrite( cmSvgH_t h, const cmChar_t* cssFn, const cmChar_t*
|
204
|
211
|
"<head>\n"
|
205
|
212
|
"<meta charset=\"utf-8\">\n"
|
206
|
213
|
"<link rel=\"stylesheet\" type=\"text/css\" href=\"%s\">\n"
|
207
|
|
- "<script type=\"text/javascript\" src=\"svg-pan-zoom.min.js\"></script>\n"
|
208
|
|
- "<script>\n"
|
209
|
|
- " var panZoom = null;\n"
|
210
|
|
- " function doOnLoad() { panZoom = svgPanZoom(document.querySelector('#mysvg'), { controlIconsEnabled:true } ) }\n"
|
211
|
|
- "</script>\n"
|
212
|
214
|
"</head>\n"
|
213
|
215
|
"<body onload=\"doOnLoad()\">\n"
|
214
|
216
|
"<svg id=\"mysvg\" width=\"%f\" height=\"%f\">\n";
|