Questions tagged [svg-edit]

SVG-edit is a web-based, JavaScript-driven SVG drawing editor that works in any modern browser.

Useful links

67 questions
0
votes
1 answer

How to fit workarea height to fill the screen in Svg-edit?

It it possible to set workarea height of svg-edit to dynamiccaly fit the screen height ? Now there is possibility to change the workare size in file config.js (for example 640x480, 800x600). But how can I change this workarea to fit the screen…
mira
  • 1,056
  • 3
  • 15
  • 32
0
votes
0 answers

Z-index and flyout buttons on a project inside of relative container

I am implementing SVG-edit into my website. It is designed to be full screen, but I have shrunk it to fit on my page, and changed some CSS to make this work, most importantly, putting it inside of this div. #master_editor_container { position:…
Goose
  • 4,764
  • 5
  • 45
  • 84
0
votes
1 answer

how can I transform size of svg with svg-edit

Is it possible to change the size of an existing svg using svg edit? I https://code.google.com/p/svg-edit/ I have a rather large svg that I wish to scale down. Google's tool doesn't have an icon (that I can see) to scale the size
Leahcim
  • 40,649
  • 59
  • 195
  • 334
0
votes
1 answer

Svg-edit usage reference where i can find it?

I found this tool(https://code.google.com/p/svg-edit/) very useful, but there is any reference for this project allow to integrate properly in your applicatione instead of simply add it to an iframe? For example i want to retrieve the svg code for…
0
votes
3 answers

How to integrate svg-edit to ASP.NET MVC application

I am about to integrate svg-edit to an ASP.NET MVC project. Is there anyone who has a recommendation or tutorial on how to begin with? Thank you.
0
votes
0 answers

Uncaught SecurityError: Failed to execute 'toDataURL' on 'HTMLCanvasElement'

Steps which will reproduce the problem Setting allowedOrigins: ["*"] in config.js as per defined in documentation and version history. Add image in editor from any other domain Uncaught SecurityError: Failed to execute 'toDataURL' on…
0
votes
0 answers

Detecting SVG-EDIT window closing

Is it possible to intercept the closing of the SVG-EDIT window? We need to do some file cleanup upon closing the window (such as removing the temporary background image we supplied to SVG-EDIT). Thanks!
David Cook
  • 15
  • 5
0
votes
1 answer

Embed Youtube video and apply file sharing system in SVG-EDIT

Is it possible to insert video to svg file (svg-edit editor) ? I would like to use svg-edit for team-work and video youtube insertion is missing at the moment. I found some examples but they does not work, for example this link. Can you please…
mira
  • 1,056
  • 3
  • 15
  • 32
0
votes
0 answers

How to change selection area for path in SVG using Javascript

I am working in SVG editor 2.7 version. Here I need to change selection area for path tags in SVG using Javascript. For example refer this image below: Here I analysis about SVG editor, tags will generated automatically and create only one…
VIVEK-MDU
  • 2,483
  • 3
  • 36
  • 63
0
votes
2 answers

How to get boundary value of rect tag in svg using javascript

I am working in svg editor 2.7 version,Here i need to selected individual boundary value of rectangle in svg using javascript.
VIVEK-MDU
  • 2,483
  • 3
  • 36
  • 63
0
votes
3 answers

How to replace the value of the text element in svg from jquery

I am creating an svg tool for the constructing a building , i had created a room ( with the rect tool ) and grouped it and now want to place the name for that room eg : "Office" for the first time the text placed inside the rect , but for the next…
Roobena
  • 259
  • 4
  • 15
0
votes
2 answers

Mouse wheel zooming effect in svg - to move to the center point and stop zooming when it reaches the limit

Mouse wheel-zooming effect in svg - how to zoom to the center point of the work area , and how to stop the zoom level when it reaches the minimum and maximum zoom level. Where to set this min and max zoom values ? Below is my code, I had reset the…
Roobena
  • 259
  • 4
  • 15
0
votes
1 answer

Selecting SVG elements where the selection box completely engulfs object

As it currently stands SVG-edit 2.6: The select tool selects objects when the selection box intersects with an objects b.box(Bounding Box). I think this is wrong UX. The select tool should only select objects that either: - Engulf the whole object -…
nicholaswmin
  • 21,686
  • 15
  • 91
  • 167
0
votes
0 answers

Application Structure for svg-edit using ExpressJS

I want to create an application i.e svg-edit that use javascript for client side operations but I want to integrate it with ExpressJS. Task needed: 1. User Authentication page 2. After authentication depending on the user name the user is directed…
Zeeshan
  • 858
  • 4
  • 16
  • 30
0
votes
1 answer

sending an uploaded PDF file via POST is becoming corrupt

Im trying to send a pdf file uploaded using JQ to a PHP file which uses CLI and pdf2svg to convert it to an svg file, with the eventual aim to return that svg file so that it can be placed into svg editor. Currently i have this: In…
tobynew
  • 337
  • 1
  • 3
  • 17