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
|
8d35aab7cd
|
Merge remote-tracking branch 'origin/master'
|
2011-07-06 15:31:25 +02:00 |
|
Jürg Lehni
|
5c3a6f72b6
|
Fix comments.
|
2011-07-06 15:31:16 +02:00 |
|
gka
|
e1a61e1d95
|
added link to original algorithm source
|
2011-07-06 14:35:12 +02:00 |
|
gka
|
46483ee431
|
packed hsl-rgb conversion code a bit
|
2011-07-05 20:25:35 +02:00 |
|
Jonathan Puckey
|
d83c76227d
|
Add Spiral Raster example.
|
2011-07-05 18:35:57 +02:00 |
|
Jonathan Puckey
|
458b03ff43
|
Move Raster related examples to examples/Rasters
|
2011-07-05 18:28:21 +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 |
|
gka
|
0e37d9e93d
|
added support for HSL colors
new class HSLColor, new test script HSLColor.html
|
2011-07-05 15:38:32 +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
|
3b5e00f343
|
Add test for symbol definition modification.
|
2011-07-04 21:23:40 +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
|
4748bb48e8
|
Fix and improve test for bounds of symbols with groups.
|
2011-07-04 20:13:33 +02:00 |
|
Jürg Lehni
|
fdb6e8dff2
|
Remove debug logging.
|
2011-07-04 20:09:49 +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
|
f817f748f8
|
Merge remote-tracking branch 'origin/master'
|
2011-07-04 19:49:12 +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
|
0eb2546fff
|
Improve Group bounds tests.
|
2011-07-04 19:46:56 +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 |
|
Jonathan Puckey
|
724fdcd727
|
Merge remote branch 'origin/master'
|
2011-07-04 15:10:26 +02:00 |
|
Jonathan Puckey
|
d726cef4e4
|
Add a few PlacedSymbol tests, two of which are failing.
|
2011-07-04 15:09:17 +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
|
287e91bd0c
|
Update JsDoc.
|
2011-07-02 18:06:38 +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
|
189e15b1e8
|
Remove console logging.
|
2011-07-01 12:56:30 +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 |
|