Jürg Lehni
|
30e92c8a35
|
Simplify CurveLocation#getPoint(), as missing parameter cannot be determined if point is also undefined.
|
2011-07-06 22:14:44 +02:00 |
|
Jürg Lehni
|
17bdaf6fe4
|
Use CurveLocation for Curve#getNearest*() methods.
|
2011-07-06 22:08:10 +02:00 |
|
Jürg Lehni
|
8b6d9746ce
|
Rename Curve#getCrossingsFor() -> #getCrossings()
|
2011-07-06 22:07:34 +02:00 |
|
Jürg Lehni
|
d1185c5f8b
|
Implement support for properly validating 'data-paper-NAME' attribute names, along with the current 'NAME'.
|
2011-07-06 21:19:38 +02:00 |
|
Jürg Lehni
|
10e7cc994c
|
Fix porting mistakes.
|
2011-07-06 15:31:36 +02:00 |
|
Jürg Lehni
|
5c3a6f72b6
|
Fix comments.
|
2011-07-06 15:31:16 +02:00 |
|
Jürg Lehni
|
99f6597615
|
Fix check for quadratic curve by using the right coefficient (a instead of d), and checking with tolerance.
|
2011-07-05 17:03:49 +02:00 |
|
Jürg Lehni
|
ccd4113ba3
|
Implement Nearest Point-on-Curve Problem.
|
2011-07-05 13:20:31 +02:00 |
|
Jürg Lehni
|
4630a1bd4a
|
Fix documentation.
|
2011-07-05 13:17:34 +02:00 |
|
Jürg Lehni
|
c1f46977fa
|
Rename Curve.isSufficientlyFlat() to shorter Curve.isFlatEnough()
|
2011-07-05 13:17:07 +02:00 |
|
Jürg Lehni
|
4110a56521
|
Improve comments.
|
2011-07-05 01:20:25 +02:00 |
|
Jürg Lehni
|
277ab844f2
|
Add comment about improving Rectangle#contains().
|
2011-07-05 01:17:55 +02:00 |
|
Jürg Lehni
|
2a9066c555
|
Fix comment.
|
2011-07-05 01:17:37 +02:00 |
|
Jürg Lehni
|
f6f4c917f4
|
Fix accidentally removed comas.
|
2011-07-05 01:16:20 +02:00 |
|
Jürg Lehni
|
6cc7417201
|
Handle edge case in crossing number algorithm where the beam in right x-direction is touching a tip where the curves change y-direction but do not interesect with the shape, by checking for slope changes.
|
2011-07-05 01:15:45 +02:00 |
|
Jürg Lehni
|
24d77c1ece
|
Remove root fixing code again, seems not necessary.
|
2011-07-05 01:14:20 +02:00 |
|
Jürg Lehni
|
8a2a9409bd
|
Commit experimental root fixing code.
|
2011-07-05 01:13:58 +02:00 |
|
Jürg Lehni
|
4924d683e4
|
Simplify Curve.solve() and improve documentation.
|
2011-07-04 23:42:16 +02:00 |
|
Jürg Lehni
|
c5269ecbab
|
Implement Path#contains(point) efficiently using the crossing number algorithm and our cubic polynomial solver.
|
2011-07-04 23:32:15 +02:00 |
|
Jürg Lehni
|
dad118cc20
|
Fix comments.
|
2011-07-04 23:30:25 +02:00 |
|
Jürg Lehni
|
110cffc14c
|
Improve comments for bounds functions.
|
2011-07-04 23:28:28 +02:00 |
|
Jürg Lehni
|
9499125b22
|
Link Item <-> Symbol#definition <-> PlacedItem and make sure changed events get sent across the whole chain.
|
2011-07-04 21:27:42 +02:00 |
|
Jürg Lehni
|
1ed6d46ce3
|
Define Item ids immediately, not on first request.
|
2011-07-04 20:19:37 +02:00 |
|
Jürg Lehni
|
bfa774f717
|
Move private bounds methods above the actual beans definitions.
|
2011-07-04 19:53:29 +02:00 |
|
Jürg Lehni
|
f2d2937a18
|
Define Rectangle#expand() and #scale(), as an easy way to manipulate rectangles.
|
2011-07-04 19:48:18 +02:00 |
|
Jürg Lehni
|
9cf5292496
|
Define solvers for cubic and quadratic polynomials, as required by hit testing code.
|
2011-07-04 19:47:54 +02:00 |
|
Jürg Lehni
|
45a3e7f873
|
Big refactoring of the way bounds are handled and cached, properly supporting Groups inside Symbols, and also adding #roughBounds, to be used by upcoming hit testing code.
|
2011-07-04 19:45:53 +02:00 |
|
Jürg Lehni
|
10b0062ce2
|
Minor fixes and clean ups.
|
2011-07-04 11:54:52 +02:00 |
|
Jürg Lehni
|
e88043a1f4
|
Implement Path#roughBounds, based on an improved Path#getHandleBounds() that supports additional hidden join and stroke padding parameters.
|
2011-07-02 18:27:43 +02:00 |
|
Jürg Lehni
|
3eecb924c8
|
Fix bug in Segment#_transformCoordinates, where handles were not set when they were zero, change was false and no matrix was provided.
|
2011-07-02 06:24:27 +02:00 |
|
Jürg Lehni
|
7e26a7af1e
|
Rename all x-axis / y-axis parameters in #scale and #shear to hor / ver, and fix a bug in Matrix#shear, where an undeclared variable was used (sx instead of shx).
|
2011-07-01 18:00:16 +02:00 |
|
Jürg Lehni
|
0644d9d8b5
|
Move TODOs up to where they make sense.
|
2011-07-01 17:40:29 +02:00 |
|
Jürg Lehni
|
51d6ff945e
|
Improve Path#getHandleBounds() and fix bean access for #handleOut.
|
2011-07-01 17:39:39 +02:00 |
|
Jürg Lehni
|
aa9be1d9c5
|
Rename #controlBounds -> #handleBounds, to reflect terminology used elsewhere.
|
2011-07-01 17:23:10 +02:00 |
|
Jürg Lehni
|
9fa51a0457
|
Implement Item#controlBounds and Path#controlBounds, and test it in StrokeBounds example. This is a first step towards fast hit-testing.
|
2011-07-01 12:51:18 +02:00 |
|
Jürg Lehni
|
ee23877fd1
|
Move view redrawing from resize handler to #setViewSize().
|
2011-07-01 12:50:11 +02:00 |
|
Jürg Lehni
|
ce9700dc4d
|
Have views redrawn after resize if they do not define a onFrame handler.
|
2011-07-01 12:49:27 +02:00 |
|
Jürg Lehni
|
84bce71b1c
|
Remove unnecessary Segment#getHandleIn/OutIfSet.
|
2011-07-01 12:30:10 +02:00 |
|
Jürg Lehni
|
79c0ad8cc5
|
Update copyright notices.
|
2011-07-01 12:17:45 +02:00 |
|
Jürg Lehni
|
d95480bc22
|
Remove trailing white spaces.
|
2011-07-01 12:01:32 +02:00 |
|
Jürg Lehni
|
609f23c64d
|
Make PlacedItem#matrix private and add getter / setter for it.
|
2011-07-01 11:32:09 +02:00 |
|
Jürg Lehni
|
1cd7165ea2
|
Define PlacedItem as base class for Raster and PlacedSymbol.
|
2011-07-01 11:26:51 +02:00 |
|
Jürg Lehni
|
7211e68245
|
Add documentation to PathItem class.
|
2011-07-01 11:22:33 +02:00 |
|
Jürg Lehni
|
bb467462c3
|
Merge pull request #10 from rdworth/text_content_string
TextItem content: Added coersion to string in content setter since 0 numb
|
2011-07-01 02:00:26 -07:00 |
|
Richard D. Worth
|
a518b3fd19
|
Remove non-whitespace change
|
2011-06-30 11:02:49 -04:00 |
|
Richard D. Worth
|
fdd62ed929
|
TextItem content: Added coersion to string in content setter since 0 number is falsy but '0' string is not. Removed coersion from PathStructure example (introduced in 5637b3e37e4541c4e78180a168107be8282c136f line 64)
|
2011-06-30 09:12:14 -04:00 |
|
Richard D. Worth
|
ac39873693
|
Whitespace. Removed all trailing whitespace from .js files
|
2011-06-30 06:01:51 -04:00 |
|
Jürg Lehni
|
ee9c7e17b6
|
Merge remote-tracking branch 'origin/master'
|
2011-06-30 11:23:42 +02:00 |
|
Jonathan Puckey
|
5982196c66
|
PaperScript: add todo for supporting scripts with type: 'text/x-paperscript'.
|
2011-06-30 10:58:09 +02:00 |
|
Jürg Lehni
|
4c6e152748
|
Move Item#setBounds() close to #getBounds() and document #_getBounds().
|
2011-06-30 08:53:57 +02:00 |
|