Skip to content

Commit

Permalink
synced with desktop upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
zeankundev committed Nov 13, 2024
1 parent 02f084a commit a9fc7a0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scripts/engine/SVGExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,6 @@ SVGExporter.prototype.drawCircleSvg = function(x1, y1, x2, y2, color, radius) {
0, 3.14159*2, false);
this.c2s.closePath();
this.c2s.stroke();

this.drawPointSvg(x1, y1, color, radius);
};

SVGExporter.prototype.drawRectangleSvg = function(x1, y1, x2, y2, color, radius) {
Expand Down Expand Up @@ -367,8 +365,6 @@ SVGExporter.prototype.drawMeasureSvg = function(x1, y1, x2, y2, color, radius) {
};

SVGExporter.prototype.drawLabelSvg = function(x, y, text, color, radius) {
this.drawPointSvg(x, y, '#0ff', 2);

var localZoom = 1;
var localDiff = 0;

Expand Down Expand Up @@ -422,10 +418,6 @@ SVGExporter.prototype.drawArcSvg = function(x1, y1, x2, y2, x3, y3, color, radiu
this.rendererComponent.getDistance(x1, y1, x2, y2) * 1,
firstAngle, secondAngle, false);
this.c2s.stroke();

this.drawPointSvg(x1, y1, color, radius);
this.drawPointSvg(x2, y2, color, radius);
this.drawPointSvg(x3, y3, color, radius);
};
SVGExporter.prototype.drawShapeSvg = function (shape) {
for (var i = 0; i < shape.components.length; i++) {
Expand All @@ -434,7 +426,6 @@ SVGExporter.prototype.drawShapeSvg = function (shape) {
component.y += shape.y;
}
this.renderElementExclusiveForShape(shape.components, shape.x, shape.y);
this.drawPointSvg(shape.x, shape.y, shape.color, shape.radius)
}
SVGExporter.prototype.exportSVG = function () {
// will return the SVG
Expand Down

0 comments on commit a9fc7a0

Please sign in to comment.