Commit Graph

290 Commits (8d5b970a61070f03253569efb405e159be56aa03)

Author SHA1 Message Date
Jeff Schiller 6f5a5f1030 Make canvas relatively positioned in workarea, centered in the workarea if small enough
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@722 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-28 20:14:18 +00:00
Narendra Sisodiya dd9f351ae3 Adding Cursor for rotation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@720 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-28 18:19:22 +00:00
Alexis Deveria 7420fb104c Fixed re-selecting polygon with curves (still mostly broken after moving, however)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@716 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-25 20:03:20 +00:00
Alexis Deveria 6483fd383c Started an implementation of Issue 118 (curved segments). Segments can now be changed to curves by double-clicking on the initial node grip.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@714 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-25 17:59:32 +00:00
Alexis Deveria d1fe17fc60 Prevented single point polys and polylines from being created, fixes Issue 104
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@705 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 16:05:23 +00:00
Jeff Schiller 4ec6be307a Fix Issue 73: Implement Layers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@704 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 04:48:40 +00:00
Jeff Schiller 10cd262372 Minor nit fix
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@702 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 03:14:43 +00:00
Jeff Schiller e2f68c00e9 Fix Issue 224: Elements not in layers are now automatically put into a new layer. Also fix hiccup from r696.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@701 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 03:13:25 +00:00
Jeff Schiller 9e70447b5d Fix Issue 161: Add feeds to editor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@697 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 16:18:04 +00:00
Alexis Deveria c8b1cfd3a2 Added 'Fit to layer content' zoom option and optimized code for setBBoxZoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@696 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 15:29:55 +00:00
Jeff Schiller 3c99c90d18 Tiny commented-out experiment for the thumbnail mentioned in Issue 208
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@691 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 14:28:03 +00:00
Alexis Deveria 428481b7ef Fixed issue 220 by creating manual clone function for Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@690 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 13:43:13 +00:00
Jeff Schiller 2033115a3e Switch order of layers (top-most layer is the one that is rendered on top now)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@689 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 03:05:27 +00:00
Jeff Schiller 6b0bec3a0d Enable console.log() for Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@688 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 21:50:55 +00:00
Jeff Schiller 7ce74cf04d Temporary debugging
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@687 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 21:30:37 +00:00
Jeff Schiller 2f89a7b311 Comment out unused code. Add meta tag for Google Chrome Frame plugin for IE.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@682 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 19:28:33 +00:00
Jeff Schiller 573b350721 Fix cloning issue with layers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@681 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 18:58:52 +00:00
Jeff Schiller 91a348412e Fix bug where contextual panel was not being updated after deleting an element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@680 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 18:29:15 +00:00
Jeff Schiller 7a4d09d6dd Fix bug in Layers: Moving layers around did not properly update the pointer-events
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@679 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 18:10:54 +00:00
Alexis Deveria 920a5df480 Additional fixes to resolution change, now works correctly when zoomed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@678 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 17:46:44 +00:00
Alexis Deveria e7941f5df8 Made doc properties adjustments, now has separate width&height fields.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@677 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 17:22:28 +00:00
Alexis Deveria 2e39f07884 Fixed issue 166: Fit to content now crops correctly and deals with stroke-width. Also fixed zoom bug #2 on issue 208
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@676 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 14:35:05 +00:00
Jeff Schiller 5b4c8aa01a Issue 73: Can now move layers up and down
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@674 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 04:44:56 +00:00
Jeff Schiller 61fe5dc9fe Issue 73: Ensure first layer is always selected. Adjust layer buttons to fit Opera and Webkit.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@672 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 02:50:50 +00:00
Jeff Schiller ef4d16ee05 Issue 73: Make New/Delete layer undo-able. Implement Rename layer. Ensure layers have unique names
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@671 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 02:42:31 +00:00
Jeff Schiller cda961e7ba More work on Issue 73: Can now create and delete layers with undo/redo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@670 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 01:00:24 +00:00
Jeff Schiller 18253b5e5d Issue 73: A good deal of the plumbing is now down for layers. You can select the current layer in the layers panel and elements not on the current layer are not selectable.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@669 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-21 22:16:44 +00:00
Alexis Deveria 3a650df943 Fixed bug caused by moving a horizontal/vertical line
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@668 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-21 20:23:42 +00:00
Jeff Schiller 1479bf7de4 More work on Layers UI, base internal work to get layers created.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@667 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-21 02:05:58 +00:00
Jeff Schiller c8c8fdb9f3 Fix Issue 219: Remove rounding of dimensions when objects are moved, resized, etc
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@666 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-21 00:03:47 +00:00
Jeff Schiller 4015137b3e TODOs for Issue 73
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@665 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-20 23:31:54 +00:00
Jeff Schiller 705e18d9ab Start of Layers UI (Issue 73) - completely nonfunctional at this point
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@664 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-20 23:04:57 +00:00
Jeff Schiller 8036ac8f62 Started work for Issue 74: selector boxes sized properly at high zoom levels. Still a problem with polys
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@661 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-17 14:47:54 +00:00
Jeff Schiller 30a133a399 Add rubber-box for zoom tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@657 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-16 17:18:11 +00:00
Alexis Deveria 4da66bec93 Added working zoom button for drag/click zoom, no visible box yet
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@655 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-16 15:45:50 +00:00
Alexis Deveria b6a1128fd1 Added support for 'Fit to ...' zoom options
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@653 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-16 14:12:51 +00:00
Jeff Schiller 57dab90b8c Fix Issue 205: scale the 'fuzz' factor for polygon point picking in case of zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@651 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 20:50:38 +00:00
Jeff Schiller 33ae9554a3 No reason to introduce a SVG rect here, we can just use the background-color or background-image of the svgcanvas div
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@644 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 19:11:06 +00:00
Jeff Schiller 3065e6a451 Start on background properties
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@642 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 05:53:56 +00:00
Jeff Schiller 78a77cf9d4 Fix Issue 186: Basic Document Properties window
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@638 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 00:04:53 +00:00
Jeff Schiller 05253d1366 Finish Issue 40: grouping
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@633 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-13 15:50:43 +00:00
Jeff Schiller 158eb2eec4 Fix Issue 194: svgzoom is emptied, not svgroot
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@631 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-13 12:55:15 +00:00
Jeff Schiller 14725fb8bf Fix Issue 192: broken while working on the zoom feature
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@630 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-13 04:09:33 +00:00
Jeff Schiller 922b8c65ca More work for the Zoom feature (fix poly editing when rotated)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@629 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-12 04:49:50 +00:00
Alexis Deveria 92dee57fa7 Fixed rotation select box and added codedread's poly changes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@628 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-11 16:49:57 +00:00
Alexis Deveria 0f29ad3e8b Fixed resolution change function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@627 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-11 15:49:50 +00:00
Alexis Deveria 53a6f81960 Fixed typo: paresInt->parseInt
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@626 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-11 13:40:04 +00:00
Alexis Deveria d9ebb5bf08 Standardized x/y variables on mouse events, more polyedit+zoom improvements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@625 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-11 13:32:56 +00:00
Alexis Deveria 05765706dc Fixed poly creation on zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@624 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-10 20:34:20 +00:00
Alexis Deveria 68716b04a7 Fixed multi-select rectangle on zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@623 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-10 19:20:26 +00:00