Commit Graph

459 Commits (c54d14f394989fd3266dc5c951bb63c90b4e8119)

Author SHA1 Message Date
Jeff Schiller c54d14f394 fixtransform branch: rework recalculateDimensions() for non-groups to deal with rotations, scales, translations of skewed/non-skewed, rotated/unrotated elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1053 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-17 07:41:33 +00:00
Jeff Schiller 54e327b22b fixtransforms branch: undo some damage I did to normal shapes being rotated/resized, but skewed+rotated shapes go back to jumping
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1048 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-16 07:11:33 +00:00
Jeff Schiller 8d339e2613 fixtransforms branch: Fixes to rotating skewed elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1047 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-16 04:52:49 +00:00
Jeff Schiller 194e80ff77 fixtransform branch: TODO for rotating skewed elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1042 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-15 14:34:09 +00:00
Alexis Deveria 2d1fb52e35 fixtransforms branch: Fixed ConvertToPath for elements with matrix
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1040 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-15 14:16:19 +00:00
Jeff Schiller 806f851107 fixtransforms branch: selector boxes are always rectangular and properly box skewed items
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1039 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-15 12:37:32 +00:00
Alexis Deveria cf46838cd1 Fixed bug on selecting un-rotated element after having rotated previous one
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1038 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-14 16:53:21 +00:00
Alexis Deveria c513aac9d0 Start on making selection boxes rectangular regardless of matrix-transformation
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1037 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-14 16:26:44 +00:00
Jeff Schiller 9c249d4ee1 fixtransforms branch: groups with skewed children now have correct selector boxes
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1036 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-13 06:42:59 +00:00
Jeff Schiller 56884531a5 fixtransforms branch: Fix webkit by handling matrix() transforms in SVGEditTransformList shim
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1035 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-13 04:14:41 +00:00
Jeff Schiller f2c98ab46e fixtransforms branch: groups with skewed elements now resize/move properly
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1034 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-13 03:31:30 +00:00
Jeff Schiller 4ca4260fc9 fixtransforms branch: Fix resizing of rotated elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1027 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-11 22:42:26 +00:00
Jeff Schiller 0182a59d06 Move out remapping of element to a separate function
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1023 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-11 17:44:56 +00:00
Jeff Schiller 6236b5cda1 fixtransforms branch: More updates for fixtransforms. Resizing rotated elements now broken
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1010 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-10 15:33:38 +00:00
Jeff Schiller 5e2883cfd5 fixtransforms branch: forgot to enable recalculateDimensions()
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1009 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-10 06:23:32 +00:00
Jeff Schiller 32f23b69af fixtransforms branch: Fix long-standing bug in matrixMultiply() that caused problems when transforms became complicated, implement some of resolving/flattening transforms on skewed elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1008 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-10 05:11:09 +00:00
Alexis Deveria ed45a7b2fa fixtransforms branch: Fixed issues 348, 349 and 350. Made multiplyMatrix() accept any amount of matrices as parameters. Improved BBox calculation on rotated groups
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1002 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-08 15:01:47 +00:00
Alexis Deveria fecc1da764 Fixtransforms branch: Fixed issues 346 and 347, changed resetPathOrientation() to use transformPoint()
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@999 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-07 14:51:32 +00:00
Jeff Schiller 789c977594 fixtransforms branch: switch order of translate/scale conversion for groups. Also fixed bug where dragging multiple elements would strip off their rotation
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@998 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-05 16:21:18 +00:00
Alexis Deveria 4c66ccbabe Made un-rotated child elements properly resize when resizing non-rotated groups
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@997 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-04 17:53:05 +00:00
Jeff Schiller 4b0d3b23d3 fixtransforms branch: Properly update rotation center
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@996 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-04 05:18:20 +00:00
Jeff Schiller 61d03c8cbf fixtransforms branch: really fix rotations this time (I am not just trying to rack up revision numbers)
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@995 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-03 21:50:46 +00:00
Jeff Schiller 3cebabc86a fixtransforms branch: Ensure rotations are re-centered
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@994 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-03 21:41:13 +00:00
Jeff Schiller 464b1580bf fixtransforms branch: Another attempt to fix transforms on groups/ungrouped elements - mostly broken, still a work-in-progress
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@993 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-03 16:34:44 +00:00
Jeff Schiller c3fecc8bf9 More minor updates, comments
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@988 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-02 04:13:01 +00:00
Jeff Schiller 9a273558d6 Add a transformBox() helper function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@987 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-02 03:54:02 +00:00
Alexis Deveria d800f4b5f9 Updated control point link icon, fixed issue 344
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@986 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-01 21:23:18 +00:00
Alexis Deveria 5173ad7eea Added option to link curved segment control points in pathedit mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@985 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-01 19:26:33 +00:00
Alexis Deveria 7cbb5ebddc Fixed bug related to path reorientation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@984 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 21:33:37 +00:00
Alexis Deveria 32c6096791 Fixed bug caused when serializing in Webkit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@982 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 21:08:09 +00:00
Alexis Deveria d5f867f0a8 Fixed issue 68 by adding Convert to Path button, also included Reorient Path button
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@981 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 19:14:23 +00:00
Alexis Deveria 474690f2a2 Fixed base64 decoder
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@980 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 14:05:20 +00:00
Alexis Deveria ac19a9fe15 Added quick and dirty URL param source loader
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@979 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-25 21:10:48 +00:00
Alexis Deveria 2653ebdaad Fixed main issue 339 problem by adding methods to convert elements to paths and re-orient rotated paths
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@978 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-25 19:35:06 +00:00
Jeff Schiller 04d0823eb4 Whitelist stroke/fill properties on groups to improve handling of arbitrary SVG
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@977 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-25 16:44:13 +00:00
Jeff Schiller 3481940e38 Update selector box to be a path, change selectors to be circles (for convenience). Getting closer to a fix for negative resizing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@976 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-25 13:51:42 +00:00
Alexis Deveria da6fb0a3cc Fixed issue 339...for Firefox
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@975 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 15:43:57 +00:00
Alexis Deveria da09855230 Fixed bug where source couldn't be saved in FF using a group
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@974 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 14:33:48 +00:00
Jeff Schiller 27064ff8da Update some TODOs, comment out some no-longer needed code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@973 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 06:54:43 +00:00
Jeff Schiller 7b6a304520 Remove some logging debug code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@972 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 06:33:28 +00:00
Jeff Schiller 1387116be6 Fix rotation of resized groups for Firefox/WebKit, Opera still semi-broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@971 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 06:10:33 +00:00
Jeff Schiller 11ed30d303 Fix more of Issue 338: rotations in opera do not collapse scales now
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@970 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-23 17:39:01 +00:00
Jeff Schiller 4bb363466f Fix second problem of issue 338 by truly recalculating the new center from the bbox
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@968 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-23 16:24:01 +00:00
Jeff Schiller ceb89dd557 Fix undo problem when moving rotated/resized groups due to global start_transform variable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@965 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-22 03:45:18 +00:00
Jeff Schiller f633ddeb11 Fix Issue 111: Finally got the math right for group transformations including translation, rotation, resizing. Still broken: Undo for transforming groups. Still massively broken: Ungrouping (Issue 204)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@964 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-22 00:50:09 +00:00
Alexis Deveria 03d2a3e32b Fixed issue 266 by changing the viewBox to width/height on serialization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@962 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 18:10:59 +00:00
Alexis Deveria 6d2729cf6b Fixed issue 287 by adding x,y fields for freehand lines, paths and groups
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@961 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 17:17:55 +00:00
Alexis Deveria 2441b75477 Fixed issue 330 (rotation on zoom) and other small bug
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@960 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 15:40:05 +00:00
Alexis Deveria afabb249cb Made inverted resizing work for most elements. Selection boxes still need fixing, though
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@959 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-19 20:16:29 +00:00
Alexis Deveria 40cd489b4c Fixed Opera rotation bug in Issue 330
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@956 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-19 16:08:16 +00:00