Jürg Lehni
|
54a24d97b1
|
Fix typo.
|
2013-10-29 21:34:51 +01:00 |
|
Jürg Lehni
|
a3ec26dace
|
Improve handling of change events in Palette.
|
2013-10-29 21:34:12 +01:00 |
|
Jürg Lehni
|
4e34a27da4
|
Some more work on comments.
|
2013-10-29 21:20:19 +01:00 |
|
Jürg Lehni
|
1871e2f7c4
|
Improve comments.
|
2013-10-29 21:18:09 +01:00 |
|
Jürg Lehni
|
fd96447ac1
|
Share ellipse reading code between Shape.Ellipse and Path.Ellipse.
|
2013-10-29 21:15:28 +01:00 |
|
Jürg Lehni
|
aca9968164
|
Simplify Shape#_contains() code.
|
2013-10-29 21:09:11 +01:00 |
|
Jürg Lehni
|
4333334014
|
Simplify Shape#hitTest() code.
|
2013-10-29 21:06:58 +01:00 |
|
Jürg Lehni
|
6fba727600
|
Add DOCS comments.
|
2013-10-29 21:00:24 +01:00 |
|
Jürg Lehni
|
f8d960d834
|
option.tolerance should always be defined in _hitTest()
|
2013-10-29 21:00:17 +01:00 |
|
Jürg Lehni
|
ae4ddaeae5
|
Implement correct hit-tests for rounded rectangle Shape items.
|
2013-10-29 20:58:30 +01:00 |
|
Jürg Lehni
|
c43752dc3e
|
Use #hasFill() and #hasStroke() more broadly and avoid drawing strokes when strokeWidth is set to 0.
|
2013-10-29 20:05:39 +01:00 |
|
Jürg Lehni
|
94623f6d3f
|
Keep radius and size in sync in Path.Rectangle.
|
2013-10-29 19:42:33 +01:00 |
|
Jürg Lehni
|
b86b66d43d
|
Improve documentation.
|
2013-10-29 19:25:10 +01:00 |
|
Jürg Lehni
|
7f8d9d9e90
|
Support options.tolerance in Shape#hitTest()
|
2013-10-29 19:17:42 +01:00 |
|
Jürg Lehni
|
156c7cfbc3
|
Update JSDoc.
|
2013-10-29 19:16:02 +01:00 |
|
Jürg Lehni
|
9d60662a28
|
Check for the occurrence of 'radius' rather than 'center' when deciding to read a center / radius pair for ellipses.
|
2013-10-29 18:53:55 +01:00 |
|
Jürg Lehni
|
c3aed5277d
|
Use center and radius in all ellipse code, rather than bounding rect.
Simplifies things.
|
2013-10-29 18:10:30 +01:00 |
|
Jürg Lehni
|
fc9cad009f
|
Implement CompoundPath#_getWindings() and move #_contains() code for both Path and CompoundPath to PathItem.
|
2013-10-29 17:57:25 +01:00 |
|
Jürg Lehni
|
04286bc1e0
|
Fix issue with param.trackTransforms
We can only pop() if we push()
|
2013-10-29 17:56:43 +01:00 |
|
Jürg Lehni
|
b2188be567
|
Make sure _globalMatrix is not set to false values in Item#rasterize().
|
2013-10-29 17:37:45 +01:00 |
|
Jürg Lehni
|
ccfacf2484
|
Fix mediaelement.js path in Nyan example.
|
2013-10-29 17:35:57 +01:00 |
|
Jürg Lehni
|
2066fae47a
|
Use option.expandShapes to restore boolean examples.
|
2013-10-29 16:47:27 +01:00 |
|
Jürg Lehni
|
c765e26a08
|
Implement SVGImport options support.
For now only options.expandShapes, which expands Shape items to Path items.
|
2013-10-29 16:47:02 +01:00 |
|
Jürg Lehni
|
d649b1bb21
|
Define insert argument for Path#toShape() and Shape#toPath()
|
2013-10-29 16:45:50 +01:00 |
|
Jürg Lehni
|
77b142bec4
|
Allow the SVGExport code to assume that the option object is always defined.
|
2013-10-29 16:41:16 +01:00 |
|
Jürg Lehni
|
dc3bd30ee3
|
Rename some variables and clean up code a bit more.
|
2013-10-29 16:19:39 +01:00 |
|
Jürg Lehni
|
de01ef1c21
|
Clean up code from previous merge.
|
2013-10-29 16:09:35 +01:00 |
|
Jürg Lehni
|
ef972949c8
|
Merge branch 'refs/heads/intersect-fix'
Conflicts:
src/path/Curve.js
|
2013-10-29 16:06:02 +01:00 |
|
hkrish
|
ac04029f6e
|
Curve-line intersection fix
|
2013-10-29 15:52:46 +01:00 |
|
Jürg Lehni
|
63e4bd5db2
|
Do not use the point of the rotated curve to evaluate the parameter of the line.
Use the non-rotated curve instead.
|
2013-10-29 15:46:20 +01:00 |
|
Jürg Lehni
|
f20e8240cd
|
Use new range feature of solveCubic()
|
2013-10-29 15:44:42 +01:00 |
|
Jürg Lehni
|
979428b6dc
|
Merge branch 'refs/heads/intersect-fix'
Conflicts:
src/path/Curve.js
|
2013-10-29 15:15:59 +01:00 |
|
Jürg Lehni
|
fb27f92ede
|
Clean up intersection-fix code.
|
2013-10-29 10:16:20 +01:00 |
|
Jürg Lehni
|
8ae1105236
|
Merge branch 'refs/heads/intersection-fix'
|
2013-10-29 10:03:26 +01:00 |
|
Jürg Lehni
|
5a462f42b7
|
Improve some comments / docs.
|
2013-10-29 09:42:59 +01:00 |
|
Jürg Lehni
|
7209b2f977
|
Add butterfly SVG example.
|
2013-10-29 09:42:59 +01:00 |
|
Jürg Lehni
|
c579433b3d
|
Fix bug in Raster.onLoad()
It was executing in wrong scope on websites with multiple scopes.
|
2013-10-29 09:42:58 +01:00 |
|
Jürg Lehni
|
160fe25cd1
|
Improve documentation of #importSVG() methods.
|
2013-10-29 09:42:58 +01:00 |
|
hkrish
|
bec1a91812
|
Calculate correct parameter for Curve-Line intersections
|
2013-10-29 00:10:20 +01:00 |
|
Jonathan Puckey
|
61ecf44140
|
Fix spelling mistake in CanvasView#initialize. Closes #316.
|
2013-10-25 17:15:54 +02:00 |
|
Jürg Lehni
|
b4850b572a
|
Improve variable naming.
|
2013-10-20 01:57:11 +02:00 |
|
Jürg Lehni
|
cc201655af
|
Fix comment.
|
2013-10-20 01:54:53 +02:00 |
|
Jürg Lehni
|
e6ef5e7e17
|
Fix hit-test for compound paths again.
|
2013-10-20 01:54:20 +02:00 |
|
Jürg Lehni
|
ddeacb1763
|
More code clean up.
|
2013-10-20 01:41:31 +02:00 |
|
Jürg Lehni
|
caa50236dd
|
Simplify winding algorithm by reusing orientation check.
|
2013-10-20 01:24:07 +02:00 |
|
Jürg Lehni
|
7c4518e4d0
|
Clean up some variable names.
|
2013-10-20 00:59:12 +02:00 |
|
Jürg Lehni
|
b4651a18c6
|
Implement #getItem() on Project and Item, similar to #getItems() but returning only the first match.
|
2013-10-19 13:02:53 +02:00 |
|
Jürg Lehni
|
1a645a1adb
|
Implement function callbacks for item matching.
|
2013-10-19 12:38:36 +02:00 |
|
Jürg Lehni
|
4fb6a5d949
|
Implement #getItems(match) on Project and Item as a simple and efficient query interface.
|
2013-10-19 12:27:13 +02:00 |
|
Jürg Lehni
|
49a8ea24af
|
No need for Object.getPrototypeOf().
Simply point _filtering directly at the original object.
|
2013-10-19 12:08:04 +02:00 |
|