Commit graph

64 commits

Author SHA1 Message Date
Jürg Lehni
fb6955e509 Replace compareSegments() / compareSegmentLists() calls with straight toString() compares. 2011-05-04 19:40:52 +01:00
Jürg Lehni
a5099fd51d Add support for insertion of multiple segments at once to Path#_add(), #add() and #insert(), and change code that relies on these methods. 2011-05-04 18:42:40 +01:00
Jürg Lehni
b0282b9bd4 Change Segment to be aware of its index in the segment list and have the curves list update automatically on each change to segments. 2011-05-01 13:27:53 +01:00
Jürg Lehni
ea510c2403 Separate Path#remove(), #remove(index) & #remove(from, to) into #removeSegment(index) and #removeSegments(from, to). 2011-04-28 15:42:16 +01:00
Jonathan Puckey
30307a0341 Add failing test for Path#reverse. 2011-04-27 12:13:28 +02:00
Jonathan Puckey
578269d0c1 Add failing path selection test. 2011-04-22 11:52:24 +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
74cee4abef Implement Path#remove() and add tests for it. 2011-04-13 16:16:32 +02:00
Jonathan Puckey
499c421021 Implement Path#join(path) and add tests for it. 2011-04-11 23:30:08 +02:00
Jürg Lehni
dfb11610e7 Define getCurrentSegment() as private and make sure it's not used as a bean. 2011-03-06 15:17:06 +00:00
Jürg Lehni
7e52355f93 Rename Doc -> Document since paper code is namespaced now and does not clash with global Document prototype. 2011-03-03 17:23:27 +00:00
Jonathan Puckey
fd2926bc45 Implement tests for PlacedSymbol, which fail because of lack of Item#strokeBounds and problems with PlacedSymbol#rotate. 2011-02-26 13:49:28 +01:00
Jonathan Puckey
1a9b80513f Clean up test folder. 2011-02-12 17:49:09 +01:00
Renamed from test/tests_Path.js (Browse further)