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 |
|
Jürg Lehni
|
59b7da0ed5
|
Fall back to pixelRatio 1 when none is defined.
Required in Item#rasterize() for non-native blend modes. This broke phantomjs tests.
|
2015-07-27 09:56:37 +02:00 |
|
Jürg Lehni
|
cce42bc6f2
|
Filter out project key in object literal constructor.
It was causing issues when running test suites in phantomjs.
|
2015-07-26 14:01:00 +02:00 |
|
sapics
|
d99b2be49a
|
add param to raster.todataurl
|
2015-07-14 10:17:20 +09:00 |
|
sapics
|
da2caa999e
|
item.setMatrix useful
|
2015-07-11 18:31:03 +09:00 |
|
sapics
|
d7a4dd2780
|
rect -> rectangle
|
2015-07-03 10:00:57 +09:00 |
|
Jürg Lehni
|
708e8d7834
|
Include documentation about importSVG() onLoad callbacks.
See #715.
|
2015-06-23 09:40:11 +02:00 |
|
Jürg Lehni
|
4fde7ab37d
|
Add applyMatrix option to importSVG()
|
2015-06-16 17:52:34 +02:00 |
|
Jürg Lehni
|
b541088c6f
|
A whole lot of documentation clean-up.
|
2015-06-16 17:50:37 +02:00 |
|
Jürg Lehni
|
2cf6cd7a14
|
Correctly clone all attributes in Shape#toPath() and Path#toShape()
Also write documentation for both methods.
Closes #622.
|
2015-06-16 14:30:40 +02:00 |
|
Jürg Lehni
|
ba12eec7f5
|
Some documentation clean-up.
- Prefer @return over @returns
- Place @see at the end, before @example
|
2015-06-16 14:08:34 +02:00 |
|
Jürg Lehni
|
c7281ee619
|
Properly handle bounds caching when items are empty first.
Closes #676.
|
2015-06-15 19:04:15 +02:00 |
|