Commit graph

707 commits

Author SHA1 Message Date
Jonathan Puckey
ff3d5aca17 Flock example: remove red connection paths. 2011-04-23 14:35:54 +02:00
Jonathan Puckey
f261da3279 Document#getSelectedItems: add todo. 2011-04-23 14:32:21 +02:00
Jonathan Puckey
c9538e8b53 Merge remote branch 'origin/master' 2011-04-22 18:43:21 +02:00
Jonathan Puckey
ffc5c6d981 Fix BezierTool to work with new segment selection code. 2011-04-22 18:42:32 +02:00
Jürg Lehni
092c893d38 Merge remote-tracking branch 'origin/master' 2011-04-22 16:32:32 +01:00
Jürg Lehni
28c9254695 Rename onFrameLoop to onFrame. 2011-04-22 16:31:46 +01:00
Jonathan Puckey
538f360a6b Fix Document#getSelectedItems & Path#setSegments. 2011-04-22 12:30:38 +02:00
Jonathan Puckey
578269d0c1 Add failing path selection test. 2011-04-22 11:52:24 +02:00
Jonathan Puckey
2496f08b17 Segment tests: add a test for segment selection. 2011-04-22 11:42:07 +02:00
Jonathan Puckey
c1ec991aee Item test: initialize paths with segments, so they can be selected. 2011-04-22 11:41:32 +02:00
Jonathan Puckey
c9898ef3b0 Path tests: rename test. 2011-04-22 11:40:54 +02:00
Jonathan Puckey
4d89d6c235 Path#setSegments: reset _selectedSegmentCount when setting a new segment list. 2011-04-22 11:39:12 +02:00
Jonathan Puckey
11063af8df CompoundPath cleanups. 2011-04-21 21:12:48 +02:00
Jonathan Puckey
1ea0a811b5 Use internal variables in CompoundPath#moveBy and Segment#isSelected. 2011-04-21 21:06:35 +02:00
Jonathan Puckey
af0543dac8 Some cleanups in Path. 2011-04-21 21:01:31 +02:00
Jonathan Puckey
dfb5cbc5eb Fix two bugs in the selected items code. 2011-04-21 20:52:28 +02:00
Jonathan Puckey
be8ee90f75 Document: use a hash for Document#_selectedItems to speed up adding to and removing from it. 2011-04-21 20:43:42 +02:00
Jonathan Puckey
745f002cd3 Segment: add todo. 2011-04-21 20:00:11 +02:00
Jonathan Puckey
abb0878a25 Curve: Implement selection of curves. 2011-04-21 19:54:32 +02:00
Jonathan Puckey
cf541901dd Rename getSelected methods to isSelected. 2011-04-21 19:51:49 +02:00
Jonathan Puckey
d831d66758 Implement SelectionState.js: bitwise flags for segment selection state. 2011-04-21 19:37:51 +02:00
Jonathan Puckey
7867a46c35 Path#setSelected: do XOR correctly. 2011-04-21 18:45:36 +02:00
Jonathan Puckey
cf2faa14e3 Path#join: use internal variables. 2011-04-21 18:43:22 +02:00
Jonathan Puckey
ff9976ab57 Implement Document#getSelectedItems. 2011-04-21 18:10:47 +02:00
Jonathan Puckey
73b97dbfba Implement segment point selection. 2011-04-21 18:06:06 +02:00
Jonathan Puckey
63c3480ef4 Add item tests for moving items across documents and selecting groups. 2011-04-21 15:57:19 +02:00
Jonathan Puckey
732caec7bf Speed up drawing of selected items. 2011-04-21 15:48:21 +02:00
Jonathan Puckey
517793c48a Implement Item#get/setDocument and Document#selectedItems. 2011-04-21 15:47:00 +02:00
Jonathan Puckey
b2cd8cdec2 Path: use the internal SegmentPoint#_x and #_y properties where possible. 2011-04-21 15:25:25 +02:00
Jürg Lehni
985aa5aff8 Directly access internal _x and _y properties on internal SegmentPoints, to avoid callling getters. 2011-04-21 13:33:12 +01:00
Jürg Lehni
96f266b4d2 Add beginning of SegmentPoint class. 2011-04-21 13:21:56 +01:00
Jürg Lehni
00958afd09 Explain lookup tables in Numerical. 2011-04-21 12:37:35 +01:00
Jürg Lehni
4f8ffde130 Clean up Chain example a bit. 2011-04-21 12:36:46 +01:00
Jürg Lehni
d25ab05e25 Simplify vector geometry in Chain example. 2011-04-20 23:29:46 +01:00
Jonathan Puckey
1d92aea8e2 Fix Item#setSelected. 2011-04-20 16:00:08 +02:00
Jonathan Puckey
877e9f324c Add port of Metaball script by Hiroyuki Sato to Examples. 2011-04-20 15:41:09 +02:00
Jonathan Puckey
357e6f2db8 Some more work on the Flock example. 2011-04-20 13:07:40 +02:00
Jonathan Puckey
d8b933957a Add Chain example. 2011-04-19 23:32:45 +02:00
Jonathan Puckey
63f1c66be3 Flock: credits & small changes. 2011-04-19 23:32:34 +02:00
Jonathan Puckey
4d6687fd8d Flock: simplify grouping. 2011-04-19 21:38:06 +02:00
Jonathan Puckey
3acb954350 Add Flock example. 2011-04-19 21:27:59 +02:00
Jonathan Puckey
3fcfe3adbb Implement drawing of selection of PlacedSymbol & Raster items. 2011-04-18 18:46:39 +02:00
Jonathan Puckey
0bc1a9aac6 Simplify BezierTool example. 2011-04-18 18:12:00 +02:00
Jonathan Puckey
d67953c1da RoundedRectangles: use onFrameLoop and other small changes. 2011-04-18 17:48:48 +02:00
Jonathan Puckey
114c058fc6 BezierTool: check segment.point first. 2011-04-18 17:31:05 +02:00
Jonathan Puckey
25b7219536 BezierTool example: small adjustment to instructions. 2011-04-18 15:42:41 +02:00
Jonathan Puckey
8da6e7b883 BezierTool example: click and drag segment handles and points to move them and close the path when clicking on the first segment. 2011-04-18 15:29:18 +02:00
Jonathan Puckey
4d5f4b32fc Letter example: select path to show how it is constructed. 2011-04-17 18:55:16 +02:00
Jonathan Puckey
f8548ca6d4 strokeBounds example: select one path, to show how it is constructed. 2011-04-17 18:49:54 +02:00
Jonathan Puckey
be9f312110 Implement a first version of drawing path selection. 2011-04-17 18:46:35 +02:00