- Code: Select all
include("scripts/ImportExport/SvgExporter/SvgExporterPG.js");
var exporter = new SvgExporterPG(document, { "scale": "10:1"});
exporter.exportFile("example.svg");
Moderator: andrew
include("scripts/ImportExport/SvgExporter/SvgExporterPG.js");
var exporter = new SvgExporterPG(document, { "scale": "10:1"});
exporter.exportFile("example.svg");hungerburg wrote:
- Code: Select all
include("scripts/ImportExport/SvgExporter/SvgExporterPG.js");
var exporter = new SvgExporterPG(document, { "scale": "10:1"});
exporter.exportFile("example.svg");
--- SvgExporter.js~ 2011-10-20 14:11:45.527589416 +0200
+++ SvgExporter.js 2011-10-20 14:12:46.277502814 +0200
@@ -1,6 +1,5 @@
include("scripts/library.js");
include("scripts/date.js");
-include("scripts/File/PrintPreview/Print.js");
/**
* File exporter implementation for the SVG format.
@@ -116,7 +115,7 @@
this.svgUnitAbbr = ret[1];
// scale
- this.scale = Print.parseScale(this.scaleStr);
+ this.scale = RMath.parseScale(this.scaleStr);
var bb = this.doc.getBoundingBox();
var size = bb.getSize();
var td = new RTextData();
td.setText("QCAD rocks");
td.setTextHeight(1);
td.setPosition(p1);
operation.addObject(new RTextEntity(document, td));alf2006x wrote: Ubuntu-Server 10.04.2 LTS Lucid Lynx - Release amd64
how can i install qcad3 beta3 on this system? will it be enough simple copying linux tar.gz package and unpacking them to run headless qcad3 beta3? or i must do something else?
Users browsing this forum: No registered users and 2 guests