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 |
Jeff Schiller
|
1a97363ea9
|
Add stroke-linecap and -linejoin to the whitelist. Made freehand scribble have rounded lines. Moved from using DOM properties to using get/setAttribute(). Changing the rotation angle will change the rotation of an element (but moving/resizing it will snap it back
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@388 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-16 06:02:26 +00:00 |
Jeff Schiller
|
299cf0215c
|
Fix bug: If SVG source was changed, selectorParentGroup was thrown away meaning you could no longer create a poly
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@387 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-16 02:48:00 +00:00 |
Jeff Schiller
|
a69ea2ed1d
|
Fix absolute path when resizing. Remove suspendRedraw for path (only making one DOM call)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@386 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-15 10:53:56 +00:00 |
Jeff Schiller
|
16f7caa078
|
Add suspendRedraw() around path resizing.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@385 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-15 04:40:33 +00:00 |
Jeff Schiller
|
c83d515fe9
|
Fix resizing of arbitrary paths (for all segment types). Add polygon to whitelist.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@384 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-15 04:37:08 +00:00 |
Jeff Schiller
|
93611c6c71
|
Add angle spinner to select panel - does nothing yet
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@383 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-14 22:50:34 +00:00 |
Jeff Schiller
|
28020bc2e2
|
White list for transform attribute. White list radialGradient. White list gradientTransform, gradientUnits, spreadMethod attributes for gradients.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@382 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-14 22:36:54 +00:00 |
Alexis Deveria
|
4b3975948b
|
Fixed Issue 79: Pasting/Cloning causes selectors to become hidden
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@380 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-14 18:35:48 +00:00 |
Jeff Schiller
|
66e69f45f4
|
Fix Issue 87 via Alexis' patch: remove poly artifacts when switching mode in mid-creation of poly
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@378 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-14 15:50:11 +00:00 |
Jeff Schiller
|
83275046b4
|
Fix Bug 80: add text controls for x,y (merge Alexis' patch)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@371 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-13 15:42:41 +00:00 |
Jeff Schiller
|
794db6ba98
|
Fix rest of Issue 34: Can now drag the poly points around in polyedit mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@368 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-08 22:17:59 +00:00 |
Jeff Schiller
|
5a91365e31
|
Ensure current_poly is cleared when going into select mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@367 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-08 14:09:30 +00:00 |
Jeff Schiller
|
6cb95656e0
|
Track current poly. Toggle between select and polyedit mode when clicking on the currently selected poly. polyedit mode does nothing now but show the points
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@366 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-08 14:03:14 +00:00 |
Jeff Schiller
|
dfb022fe6f
|
Added poly point grips during creation. Fix bug where elements moved by arrow keys were not undo-able
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@365 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-08 03:36:01 +00:00 |
Jeff Schiller
|
e7a9446bbb
|
Fix Issue 83: Allow polygons to be filled (change freehand sketches to polylines, whitelist polylines, recalculate polylines upon dragging/resizing)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@363 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-07 17:19:32 +00:00 |
Jeff Schiller
|
8db79e5c83
|
Truncate poly coordinates to integers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@360 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-07 05:55:11 +00:00 |
Jeff Schiller
|
ab3fa8e925
|
First half of Issue 34 fixed: Can create polygons now. Also change default fill to red and default stroke-width to 5. Moved some functions around for convenience
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@359 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-07 05:44:55 +00:00 |
Jeff Schiller
|
86173b1832
|
Fix Issue 78: Merge copy/paste button into one clone button
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@354 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-06 11:43:19 +00:00 |
Jeff Schiller
|
1840240003
|
Remove trailing commas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@351 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-04 03:14:23 +00:00 |
Jeff Schiller
|
d1d91c556e
|
Fix several bugs with gradient picking. Uplift to latest jGraduate.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@348 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-08-01 05:03:51 +00:00 |
Jeff Schiller
|
05ff4be18f
|
Fix Issue 33: Gradient picker for fill/stroke. Also start to optimize suspendRedraw/unsuspend. Added vector image of logo.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@346 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-30 22:45:59 +00:00 |
Jeff Schiller
|
1c9993d438
|
Uplift to jPicker 1.0.9
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@343 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-22 22:47:59 +00:00 |
Jeff Schiller
|
9c841384bd
|
Add empty paint_picker div. Also add defs to the whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@325 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-14 12:52:39 +00:00 |
Jeff Schiller
|
535d55ccda
|
Fix Issue 51: Implement Copy/Paste
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@320 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-13 13:51:00 +00:00 |
Jeff Schiller
|
bfb108a7d0
|
Fixed a bug where selecting an element and then clicking off the element would delete it (resulted from change to how obj_num is handled)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@318 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-13 04:12:25 +00:00 |
Jeff Schiller
|
5e15483254
|
Preserve comments when editing SVG source
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@315 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-13 03:23:58 +00:00 |
Jeff Schiller
|
d1a011d5d3
|
Properly format SVG source from and to the editor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@313 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-13 02:57:11 +00:00 |
Jeff Schiller
|
8e8f44861d
|
Start of Edit Source capabilities for SVG-edit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@312 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-13 00:17:15 +00:00 |
Jeff Schiller
|
b3484861e8
|
Use getNextId() when creating new elements, this ensures uniqueness (even if a file was loaded in)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@311 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-11 13:15:16 +00:00 |
Jeff Schiller
|
d694197af7
|
Fix a bug in batch command where elements were not properly returned. Added canvas function to return resolution. Added parsing of XML string into SVG document. Added whitelist of elems/attributes for SVG-edit.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@308 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-10 05:04:06 +00:00 |
Jeff Schiller
|
45fdd03682
|
Fix Issue 54: prevent lines and paths from having their fill set
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@283 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-08 04:40:45 +00:00 |
Jeff Schiller
|
5551bc97ca
|
Fix Issue 55: height of bottom toolbar. Also improve code for recalculating outline/dimensions. Also fix it so that multiple elements can be moved using the arrow keys
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@281 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-08 00:03:08 +00:00 |
Jeff Schiller
|
e4af0eb261
|
Woops again, left a debug alert in by accident
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@274 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-06 18:54:38 +00:00 |
Jeff Schiller
|
8537e0c35c
|
Typo in previous checkin preventing bold from working
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@273 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2009-07-06 16:21:12 +00:00 |