jsketcher icon indicating copy to clipboard operation
jsketcher copied to clipboard

Fix some problems of svg exporting

Open xia0hj opened this issue 1 year ago • 0 comments

Hi,

I found some problems when using svg exporting in 2D Sketcher:

  1. The exported svg is fliped, becase in svg the positive y direction is top-to-bottom. I fixed it simply by flipping svg vertically.
  2. Some sketcher objects show incompletely dut to wrong width and height, i correct the viewbox args.
  3. Add supports for exporting Ellipse, EllipticalArc and BezierCurve.

xia0hj avatar Sep 18 '22 03:09 xia0hj