Commit Graph

396 Commits (38242ad3d66ea270887279ec2acafadd504ccc4d)

Author SHA1 Message Date
Alexis Deveria 38242ad3d6 Fixed alignment tools
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@935 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 18:38:13 +00:00
Jeff Schiller 3924530ea3 transformlist branch: more refactoring. groups can be rotated, translated, resized. still buggy when resizing rotated groups but checking it in anyway. ungrouping still surely broken
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@932 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 05:02:11 +00:00
Jeff Schiller 70745df23a Fix matrixMultiply() to properly seek rotate/scales
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@929 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-11 07:42:23 +00:00
Alexis Deveria a5ae9e78de Fixed issue 325: Finishing an open path - Ghost segment
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@925 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 16:43:02 +00:00
Jeff Schiller d7c3f73d02 transformlist branch: fix some undo problems, remove some more dead code
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@924 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 15:16:49 +00:00
Jeff Schiller f603b01efc transformlist branch: Can resize groups as long as they are not rotated. Rotating groups still broken. Ungrouping still broken
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@923 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 07:15:29 +00:00
Jeff Schiller 0fc63a2992 transformlist branch: update comments/notes, remove logging
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@921 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 21:05:57 +00:00
Alexis Deveria 8488743d55 Moved rotated BBox calculation from alignSelectedElements to getStrokedBBox to fix selection box on rotated elements in groups
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@920 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 20:54:42 +00:00
Jeff Schiller 0d61f80f93 transformlist branch: collapse adjacent group scales to one translate-scale-translate
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@918 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 20:06:07 +00:00
Jeff Schiller c3d6520928 transformlist branch: Fix a bug, N is not a constant. Also remove some dead code and add some more notes.
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@915 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 16:39:29 +00:00
Jeff Schiller 700604749b transformlist branch: more work on transforms for groups (can now move groups around but not rotate/scale them, ungrouping still broken)
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@914 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 15:17:59 +00:00
Jeff Schiller ea383530dd transformlist branch: change transformToString to transformToObj and refactor some more code
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@911 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-05 15:44:03 +00:00
Jeff Schiller 516703cac7 transformlist branch: Fix proper sizing of selector boxes
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@906 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-04 15:30:10 +00:00
Alexis Deveria b0d565bdeb Stopped rounding of circles, added fix for importing SVG on Opera/Win/Non-EN
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@903 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-03 21:16:36 +00:00
Alexis Deveria e726d8e9b1 Prevent selection box from scaling on resize using original method
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@901 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-03 17:47:33 +00:00
Jeff Schiller 85d35b6cbd transformlist branch: fix scaling or rotated elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@900 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-03 15:59:27 +00:00
Alexis Deveria f9b4b0a647 Small fix to allow moving of multiple elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@899 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-03 14:27:33 +00:00
Jeff Schiller f2893ff847 Base check-in of transformlist refactoring
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@898 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-02 20:09:02 +00:00
Alexis Deveria d0784dcabd Fixed several group selection bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@896 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-02 19:18:37 +00:00
Alexis Deveria f15a2da457 Made selection box on groups include strokes. Possibly fixes Issue 289
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@895 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-02 17:11:37 +00:00
Alexis Deveria 29677a5721 Fixed issue 300
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@894 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-02 14:29:12 +00:00
Alexis Deveria 4f504d8b7b Fixed issue 316: order is reversed after grouping
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@893 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-02 13:14:59 +00:00
Jeff Schiller eb85ba8061 More work on SVGEditTransformList - update now works properly with rotations around a point
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@892 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-01 20:55:01 +00:00
Alexis Deveria 20d7b92b58 Added more SVG icons, added experimental option to change icon size, fixed clone offset on zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@889 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-30 19:39:33 +00:00
Alexis Deveria 0e578d675c Fixed issues 269 and 307, added clone SVG icon
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@888 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-29 19:43:34 +00:00
Alexis Deveria e960db29ff Made various zoom improvements, fixed zoom centering on spinner zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@887 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-29 17:19:07 +00:00
Alexis Deveria fc92f6fff1 Fixed incorrect Fit to Content crop by making getVisibleElements ignore groups
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@886 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 19:20:56 +00:00
Alexis Deveria b59e989b12 Fixed issue 296: Align tools do not align properly when the zoom is active
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@885 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 18:50:12 +00:00
Alexis Deveria a7b3b7dd25 Made zoom work on Shift+mousewheel (fails in Opera), made zoom out work on Shift+click in zoom mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@884 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 18:04:38 +00:00
Jeff Schiller 3d5fa78f67 Add an update() function to SVGEditTransformList
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@882 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 14:09:46 +00:00
Jeff Schiller 544a06863e First chunk of code that will be used for transform list refactoring - code is currently unused
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@880 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-27 20:54:29 +00:00
Alexis Deveria 3dcd17f4b1 Fixed issue 311: Angle of rotation value isn't updated when the rotation is made with the handle. Also made opacity options hide while dragging slider
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@878 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-27 13:24:18 +00:00
Alexis Deveria c287c5a531 Fixed issue 304, changed status of project to alpha
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@877 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-26 14:28:48 +00:00
Alexis Deveria 0fa6da2afc Fixed Issue 232: undo after fit to content (Document properties)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@876 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-23 18:03:48 +00:00
Alexis Deveria 80696e17eb Fixed issue 292: Change the color of the handles of the segment selected in pathedit mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@875 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-23 17:27:37 +00:00
Alexis Deveria b1c24d5920 Import/export changes: All numbers are now rounded on export. Paths now always import as absolute vals, and export to relative ones.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@874 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-23 15:21:27 +00:00
Alexis Deveria f008e8f4d0 Fixed Issue 279 by hiding bottom tools on pathedit mode, also fixed other minor problems
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@871 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 19:36:04 +00:00
Jeff Schiller 5984c2643c Minor improvement to mouse_target code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@868 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 13:20:41 +00:00
Jeff Schiller 04269414a9 Commonize the discovery of the mouse target in the mousedown function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@867 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 03:29:49 +00:00
Jeff Schiller a39af2b6d7 Refinement of math from previous check-in (avoiding some DOM calls)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@866 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 03:18:54 +00:00
Jeff Schiller 5ade7006c1 Potentially fix Issue 193: Use inverse of screen CTM on mouse event coordinates to get to relative SVG coordinates
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@865 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 03:07:15 +00:00
Alexis Deveria 6efc057a5a Fixed issues 282 and 283
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@863 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 18:47:23 +00:00
Alexis Deveria dabc8c5e94 Renamed svgzoom variable/id to svgcontent, removed ID on serialization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@859 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 15:12:32 +00:00
Alexis Deveria 8c4413996d Fixed issue 293: Negative scaling paths does not work
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@858 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 14:25:55 +00:00
Alexis Deveria a0d4f0e263 Changed font drop-down list to spinner, now uses px rather than pt
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@849 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-20 15:50:58 +00:00
Alexis Deveria 39e71579e3 Made Image Title change undoable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@845 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-20 13:49:53 +00:00
Jeff Schiller b07c171d83 Add fill-rule, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit to whitelist. Add some notes for reducing transforms.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@844 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-19 20:13:52 +00:00
Alexis Deveria df8c220714 Added ability to set title for image (issue 125). Also: use native base64 encoder if found when encoding
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@843 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-19 19:06:07 +00:00
Jeff Schiller e667d63ac8 Rename all script/UI poly elements to path. Add TODOs for localization. Change MIME type of lang.XX.js files to text/javascript to better track in Subversion.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@842 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-18 20:46:32 +00:00
Jeff Schiller 0cdbb8d584 Rename 'path' mode to 'fhpath' (freehand path)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@841 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-18 20:04:26 +00:00