Jürg Lehni
|
2539527864
|
Fix minification warnings.
|
2016-01-06 15:25:37 +01:00 |
|
Jürg Lehni
|
b9c76f44e8
|
Convert "Note: " comments to "NOTE: " and do some cleanup.
|
2016-01-06 14:23:19 +01:00 |
|
Jürg Lehni
|
5a16d0cd01
|
Implement proper handling of self-touching paths in resolveCrossings().
Closes #874, #887
|
2016-01-06 10:53:50 +01:00 |
|
Jürg Lehni
|
a1fcaabed6
|
Implement item comparison through rasterization and resemble.js diffing, directly integrated into QUnit.
And start using it for boolean operation unit tests.
|
2015-12-30 21:55:21 +01:00 |
|
Jürg Lehni
|
2596b81616
|
Add optional insert parameter to #rasterize()
|
2015-12-30 21:55:21 +01:00 |
|
Jürg Lehni
|
62a23662fa
|
Unify handling of insert parameters.
|
2015-12-30 21:55:21 +01:00 |
|
Jürg Lehni
|
44f98ee094
|
Replace all mention of DOM in the documentation with scene graph.
|
2015-12-30 21:55:21 +01:00 |
|
Jürg Lehni
|
c0a2e0ec63
|
Support insert parameter again in #toShape() / #toPath()
|
2015-12-30 21:55:21 +01:00 |
|
Jürg Lehni
|
0e427c16a2
|
Fix some white-spaces in comments and HTML.
|
2015-12-30 21:55:20 +01:00 |
|
Jürg Lehni
|
4d13f0e1e0
|
Simple optimization in PathItem#contains()
Perform a handle bounds check before calculating winding, as described by @iconexperience in #869
|
2015-12-30 21:55:20 +01:00 |
|
Jürg Lehni
|
5c976420f8
|
Further improve #resolveCrossings() based on discussion with @iconexperience.
Closes #869
|
2015-12-30 21:55:20 +01:00 |
|
Jürg Lehni
|
f34afbc19a
|
Clean up code from #856 a bit.
|
2015-12-30 21:55:19 +01:00 |
|
Jürg Lehni
|
a7a07fb6d5
|
Update JSDoc and do some documentation spring-cleaning.
- Convert from {@code ...} to shorter `...`
- Reformat some documentation comment blocks
- Update copyright notices
|
2015-12-30 21:55:19 +01:00 |
|
Jürg Lehni
|
b724a59901
|
Handle non-reversible matrix in Item#hitTest()
Closes #617
|
2015-12-30 21:55:18 +01:00 |
|
Jürg Lehni
|
f2f34c3b75
|
Some minor fixes in new #getItems() code.
|
2015-12-30 21:55:18 +01:00 |
|
Jürg Lehni
|
de532aac2f
|
Implement control over recursive iteration in #getItems()
Closes #853.
|
2015-12-30 21:55:18 +01:00 |
|
Jürg Lehni
|
f95d6ab310
|
Fix bug in Item#getItems(function() {})
Closes #751
|
2015-12-30 21:55:18 +01:00 |
|
Jürg Lehni
|
08d75a48ff
|
Fix issue again with param.overlapping in #getItems()
This time, properly!
Closes #751
|
2015-12-30 21:55:18 +01:00 |
|
Jürg Lehni
|
aa316ffc8c
|
Avoid applying item._matrix twice in Item#intersects()
As suggested by @sapics.
Closes #847
|
2015-12-30 21:55:18 +01:00 |
|
Jürg Lehni
|
306d8bae86
|
Clean up the new Item#reduce() code a bit.
|
2015-12-30 21:55:18 +01:00 |
|
Jürg Lehni
|
fec67617e1
|
Merge pull request #846 from iconexperience/reduce-fix
Make sure reduced item has no parent if original item had no parent.
Fix for #835
|
2015-12-30 21:55:18 +01:00 |
|
Jürg Lehni
|
b987590c71
|
Define documentation for excludeMatrix parameter.
|
2015-12-30 21:55:18 +01:00 |
|
Jürg Lehni
|
83b53cb9e0
|
Fix a few edge cases in cloning and copying of attributes.
|
2015-12-30 21:55:17 +01:00 |
|
Jürg Lehni
|
2fea40f86f
|
Introduce new Item#copyAttributes() & #copyContent(), and revamp #clone() handling.
|
2015-12-30 21:55:17 +01:00 |
|
Jürg Lehni
|
a5f05c90f5
|
Rename #windingRule to #fillRule.
...keeping deprecated aliases on Style and Item around for now.
Closes #858
|
2015-12-30 21:55:17 +01:00 |
|
Jürg Lehni
|
0badb3b3f4
|
A bunch of code clean-ups.
|
2015-12-30 21:55:16 +01:00 |
|
sapics
|
81a4d142f0
|
Fix shape.strokeBounds with strokeScaling is false
|
2015-12-30 21:52:34 +01:00 |
|
sapics
|
9c1c00c11e
|
Minor minification
|
2015-12-30 21:52:34 +01:00 |
|
Jürg Lehni
|
1e72447a7d
|
Minor comment change.
|
2015-11-12 10:12:46 +01:00 |
|
Jürg Lehni
|
8149fa830b
|
Only rasterize an item's content if the resulting raster is not empty.
closes #828
|
2015-11-12 10:11:31 +01:00 |
|
Jürg Lehni
|
8eb0dcc87d
|
Fix various JS linting problems.
|
2015-10-27 23:35:30 +01:00 |
|
sapics
|
502558a321
|
Fix variable leaks
|
2015-10-23 09:45:39 +09:00 |
|
Jürg Lehni
|
3314668a0c
|
Streamline mouse event handling between View and Item.
Consolidating code and making View#onMouseDown/Up/Move/... events work.
|
2015-10-14 16:25:36 +02:00 |
|
Jürg Lehni
|
e36319b71a
|
Give PathItem#getIntersections() a way to filter found intersections right away.
And use it in #getCrossings()
|
2015-09-21 10:41:59 -04:00 |
|
Jürg Lehni
|
ae93652b56
|
Clean up getIntersection() methods.
Now that they filter the results on the fly.
|
2015-09-18 17:31:23 +02:00 |
|
Jürg Lehni
|
71a7cc37e6
|
Many documentation clean-ups.
|
2015-09-06 17:20:01 +02:00 |
|
Jürg Lehni
|
b52d343527
|
Use same notation for all injection scopes.
|
2015-09-06 16:48:23 +02:00 |
|
Jürg Lehni
|
cf813faa75
|
Remove all mention of points and square points as units.
And some other doc clean-ups.
|
2015-09-06 16:37:10 +02:00 |
|
Jürg Lehni
|
31771aa01d
|
Insert results of boolean operations above whichever of the two paths appear further up in the stack.
|
2015-08-30 14:47:46 +02:00 |
|
Jürg Lehni
|
fd1f2e56f8
|
Optimize Item#intersects() by only checking to see if there are at least one intersection.
|
2015-08-25 11:45:28 +02:00 |
|
Jürg Lehni
|
af24af8916
|
Merge pull request #730 from sapics/raster.toDataURL
add param to raster.todataurl
|
2015-08-21 17:41:32 +02:00 |
|
Jürg Lehni
|
13b5e6ce22
|
Help JS minification.
|
2015-08-21 15:15:06 +02:00 |
|
Jürg Lehni
|
4cdc572824
|
Merge pull request #729 from sapics/item-matrix
setMatrix of item makes more useful
|
2015-08-21 15:11:49 +02:00 |
|
Jürg Lehni
|
3dd0f1fc1b
|
Introduce new option in SVGExport to not embed images.
Closes #696
|
2015-08-20 19:34:38 +02:00 |
|
Jürg Lehni
|
650bf5d616
|
Implement CORS support on Raster.
Closes #754
|
2015-08-20 19:14:33 +02:00 |
|
Jürg Lehni
|
2366e03265
|
Implement getItems(function() {}).
As requested in #751.
|
2015-08-19 01:04:47 +02:00 |
|
Jürg Lehni
|
39ea409684
|
Fix issue with param.overlapping in #getItems()
Consider items fully contained inside the rectangle as overlapping as well.
Closes #751.
|
2015-08-19 00:55:44 +02:00 |
|
Jürg Lehni
|
98edddc5ac
|
Include _pivot in cloning.
Closes #747
|
2015-08-17 14:47:56 +02:00 |
|
Jürg Lehni
|
65f085cc98
|
Have option.matchShapes control conversion to SVG polygon elements as well.
Closes #753
|
2015-08-17 14:18:22 +02:00 |
|
Jürg Lehni
|
ffb3ea8d15
|
Fix wrong URL in documentation.
|
2015-07-27 12:15:01 +02:00 |
|