Commit Graph

175 Commits (3c6f79a8c1a2ebf74cb78a59f4845ae56be2c749)

Author SHA1 Message Date
Alexis Deveria 841d1c24d3 Made updateGripCursors work with negative angle values
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@485 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 12:37:02 +00:00
Jeff Schiller 3bb5c42198 Fix bug: rotated polyedit mode still had a problem
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@484 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 04:43:05 +00:00
Jeff Schiller cd4dc59027 Fix Issue 129: Selecting/manipulating rotated elements broken in Webkit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@483 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 04:01:19 +00:00
Jeff Schiller a46510a015 Integerize the angle when dragging rotation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@482 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 01:05:59 +00:00
Jeff Schiller 143680e3ee Final fix for Issue 103: merge in modified patch from antimatter15
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@481 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 01:03:08 +00:00
Jeff Schiller 9467ce13ba Remaining TODOs for rotate handle
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@480 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 23:15:32 +00:00
Jeff Schiller 223d5352e7 Minor tweak to getIntersectionList(). Added comment for Issue 129.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@479 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 21:50:35 +00:00
Alexis Deveria ecdcbf7d9b Changed getIntersectionList for minor performance improvement
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@478 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 19:59:52 +00:00
Jeff Schiller 5a62f3b209 Second part of Issue 103: tracking of mouse events and new 'rotate' state. Does not actually rotate the element yet.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@477 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 19:45:28 +00:00
Jeff Schiller 23069bfbfd First part of Issue 103: rotate handle on the selector box, doesn't do anything yet
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@476 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 19:09:13 +00:00
Alexis Deveria 328261b9e3 Fixed issue 109: Arrow cursors are properly updated when rotating element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@473 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 13:59:25 +00:00
Pavol Rusnak 5eb2087f86 missing rx, ry in supported rect attributes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@472 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 13:03:02 +00:00
Jeff Schiller 0a754d20fd Fix Issue 93: rotation math issues
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@471 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 05:08:34 +00:00
Alexis Deveria baf9f75982 Possibly fixed issue 99 and issue 108 by setting up an external handler function. Moved Opera references to seperate file and reprocessed thinker.li's patch to also use a use separate file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@468 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-25 16:35:57 +00:00
Jeff Schiller c6df21abfc Fix Issue 121: Opera duplicates the id attribute on cloned nodes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@464 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-25 12:40:58 +00:00
Pavol Rusnak 9f704dee5c create 4 modes for align: selected, largest, smallest, page
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@462 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-25 07:04:19 +00:00
Alexis Deveria 1366396082 More JS optimization in svgcanvas.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@461 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 20:00:48 +00:00
Alexis Deveria 2aac696964 Fixed bug in last update
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@460 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 19:20:52 +00:00
Alexis Deveria 06069ae984 More JS optimization in svgcanvas.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@459 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 19:19:27 +00:00
Alexis Deveria 13fc0f5d08 JS optimization in svgcanvas.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@458 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 18:39:22 +00:00
Alexis Deveria d27fcf1da9 Fixed issue 116: Select a shape by dragging the mouse while being in Edit node of a polyline breaks all the tools
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@457 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 17:40:41 +00:00
Jeff Schiller b006ce9693 Fix final bit of Issue 52: aligning rotated elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@455 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 15:30:11 +00:00
Alexis Deveria 835574375c Fixed issue 114: A linear gradient becomes black when the object is selected
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@452 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 12:55:22 +00:00
Pavol Rusnak 2ec215492e simplify align code, all elements should work now
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@451 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-23 17:16:27 +00:00
Pavol Rusnak 9543eb4c2e implement align for text (still missing path polygon polyline)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@450 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-23 16:39:45 +00:00
Jeff Schiller c170ea5905 Fix bug when changing positon of a rotated element via contextual panel
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@449 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-23 03:18:59 +00:00
Jeff Schiller 96cc518072 Rotated elements properly size while mouse down (still a bug when mouseup though)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@448 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-22 19:08:01 +00:00
Alexis Deveria fa0ea55521 Fixed Issue 98: Blank text field deactives the Selection tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@447 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 20:12:01 +00:00
Alexis Deveria 2f4043176c Fixed 50% opacity on new Element bug
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@445 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 17:02:51 +00:00
Jeff Schiller f0e1b6a57a Merge 422:442 from rotator branch into trunk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@443 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 15:53:36 +00:00
Alexis Deveria 82e516cd37 Fixed issue 102: Allow selection of next child/previous child with a key and issue 107: Creating an object selects it automatically and switches to the Select tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@430 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 13:39:23 +00:00
Jeff Schiller 790c3402d5 Minor fix to resize polyedit mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@428 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 12:21:43 +00:00
Alexis Deveria 8b5c79a33f Fixed issue 82: Resizable Canvas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@420 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 15:59:29 +00:00
Alexis Deveria 4e17c00920 Fixed issue 86: Text should have different starting fill/stroke properties
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@417 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 13:50:41 +00:00
Jeff Schiller 0bb7c15fb0 Fix Issue 101: Minimally size the bounding box for polylines, polygons, paths.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@416 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 05:33:34 +00:00
Alexis Deveria c2e0387465 Fixed issue 85: Ensure unused gradients are removed when serializing SVG
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@415 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-19 17:08:05 +00:00
Jeff Schiller 62f484f5d5 Partial fix for Issue 101: calculate tightest axis-aligned bounding box for a rotated ellipse
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@414 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-19 04:49:50 +00:00
Jeff Schiller 8550d59362 Check in another fix for Issue 93: rotated poly points drag ok now. Check in Erik's patch for widgetizing SVG-edit (Issue 99)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@413 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-19 03:42:27 +00:00
Alexis Deveria 546c96ed14 Fixed bug on rotation created in r408
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@412 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-18 19:05:42 +00:00
Alexis Deveria 97d9c8b76a Fixed part of issue 93
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@408 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-18 16:59:01 +00:00
Jeff Schiller 9726d1b417 Separate the save handler into the HTML editor portion so that it can be re-bound
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@404 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 21:55:47 +00:00
Pavol Rusnak e13c674692 one left behind
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@399 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 07:08:16 +00:00
Pavol Rusnak cd54df13a0 minor fixes of last commit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@398 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 07:05:45 +00:00
Pavol Rusnak d4ff808c83 align elements (work in progress)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@397 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 06:56:55 +00:00
Jeff Schiller 8923f6d746 Fix bug when in polyedit mode and clicking the Poly tool, would add points to the current poly being edited
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@396 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 03:57:43 +00:00
Jeff Schiller a20d175681 Resizing rotated elements behaves better (though the bbox selector still has the wrong dimensions at the end of a drag, I may live with it for this release)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@393 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 03:11:30 +00:00
Jeff Schiller eb97d20600 Fix Issue 92: Update rotation angle when selecting an element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@392 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-16 19:18:22 +00:00
Jeff Schiller a61da29f34 Properly size bounding box based on rotation angle of shape. Doesn't work at all for resizing rotated elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@391 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-16 18:00:56 +00:00
Jeff Schiller 8ada7b4bea Create separate getBBox() function on the SvgCanvas and use that
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@390 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-16 15:07:00 +00:00
Jeff Schiller 121a6c148d Rotation angle now preserved with drag/move
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@389 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-16 14:56:22 +00:00