rebootcode / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

Support drawing of a viewBox rectangle (on the document's root <svg> element) #589

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

Hi, there,

I found svg-edit just before 2.5 release, and found it very powerful as a web 
application. 
Now, when I draw a simple vector image fast I may use svg-edit. However, the 
feature to ignore those useless parts in final output have not been implemented 
yet.

Would somebody work on it? 

Thanks.

Best regards,

Jie LUO

PS:I listed svg-edit in Chinese Ubuntu Wiki - Recommend Applications - if you 
interested, click 
http://wiki.ubuntu.org.cn/Qref/Apps#.E5.9B.BE.E5.83.8F.E7.BB.98.E5.88.B6.E4.B8.B
A.E4.B8.BB. 

Original issue reported on code.google.com by lilil...@gmail.com on 29 Jun 2010 at 7:33

GoogleCodeExporter commented 9 years ago
Can you clarify what you mean?

What useless parts are you talking about?  Can you give an example?

Original comment by codedr...@gmail.com on 29 Jun 2010 at 3:39

GoogleCodeExporter commented 9 years ago
Are you talking about only in the PNG output?

Original comment by codedr...@gmail.com on 29 Jun 2010 at 3:39

GoogleCodeExporter commented 9 years ago
Thanks for your quick replies,

I did mean to request this for the png export (only that called export anyway).

To specific, I create multiple layer image while needed the final restricted in 
a rectangle area but there are extra around it. Thus, instead of using other 
graphic editors like Inkscape or GIMP to do it afterwards, I hope svg-edit can 
export "selection" or "area". 

Thanks, if these still confuse you. Um, I am sorry, please comment here. That 
will be a force to me to learn English better.

Best regards,

Jie LUO

Original comment by lilil...@gmail.com on 29 Jun 2010 at 11:04

GoogleCodeExporter commented 9 years ago
I think we can combine this with a future option in which we allow the user to 
draw a viewBox rectangle for the SVG. That would restrict both the SVG image 
(visibly) as well as the PNG output to this rectangle, which should solve this 
issue.

So in order to prevent similar functionality to be implemented twice, I'm 
renaming this issue, even though it will result in the same effect.

Original comment by adeve...@gmail.com on 21 Jul 2010 at 1:40

GoogleCodeExporter commented 9 years ago
Maybe just add 4 fields in the Document Properties window that lets a user set 
the viewBox?  It might be tricky because presumably actually setting the 
viewBox attribute on the <svg> in the SVG-edit canvas would screw things up.  
So something like se:viewBox which gets turned into a real viewBox upon 
saving/exporting?

Original comment by codedr...@gmail.com on 21 Jul 2010 at 4:12

GoogleCodeExporter commented 9 years ago
Yeah, that sounds about right. Though I think we should allow an easy way to 
just draw the rectangle, that can be toggled on or off in the document 
properties. 

Original comment by adeve...@gmail.com on 21 Jul 2010 at 4:19

GoogleCodeExporter commented 9 years ago
So it would draw maybe a 50% opacity dashed red border for this rectangle, 
without interfering with the editing.

Original comment by adeve...@gmail.com on 21 Jul 2010 at 4:21

GoogleCodeExporter commented 9 years ago

Original comment by adeve...@gmail.com on 28 Jan 2011 at 4:54

GoogleCodeExporter commented 9 years ago
Any news here? Any chance to implement it in nearest future?

Original comment by kusmi...@gmail.com on 22 Jan 2014 at 1:20

GoogleCodeExporter commented 9 years ago

Original comment by bret...@gmail.com on 7 Apr 2014 at 3:38

GoogleCodeExporter commented 9 years ago

Original comment by bret...@gmail.com on 7 Apr 2014 at 3:43