Jürg Lehni
|
5bb3482073
|
Bump version to v0.9.11
|
2013-11-02 21:29:09 +01:00 |
|
Jürg Lehni
|
af1c6830e0
|
Small variable name change.
|
2013-11-02 21:26:32 +01:00 |
|
Jürg Lehni
|
056dcceacc
|
Implement #importSVG() from external URL.
|
2013-11-02 21:17:11 +01:00 |
|
Jürg Lehni
|
b8ab0f36f9
|
Remove unused local variable and comment.
|
2013-11-02 20:37:23 +01:00 |
|
Jürg Lehni
|
c797f2f0ad
|
Keep the native animation loop running as long as there are unprocessed callbacks.
|
2013-11-02 20:26:06 +01:00 |
|
Jürg Lehni
|
a6c175c82c
|
Improve DomEvent.requestAnimationFrame() code to only handle canvases that are actually visible.
|
2013-11-02 20:10:35 +01:00 |
|
Jürg Lehni
|
7e660b05e3
|
Avoid using the wrong PaperScope in keyboard events.
|
2013-11-02 14:36:44 +01:00 |
|
Jürg Lehni
|
4f32cc2eea
|
No need for RegExp group in match statement.
|
2013-11-02 13:25:03 +01:00 |
|
Jürg Lehni
|
7b1f118aed
|
Use same command sequence as in switch statement.
|
2013-11-02 09:45:11 +01:00 |
|
Jürg Lehni
|
97a29e6ada
|
Improve SVG path data parser.
|
2013-11-02 09:30:40 +01:00 |
|
Jürg Lehni
|
c99d13178b
|
Consider a Point or Size null if one of the components is null.
|
2013-11-01 19:25:41 +01:00 |
|
Jürg Lehni
|
4b97d3a6e0
|
Make sure that the default SVG settings are not lost on import.
|
2013-11-01 19:00:37 +01:00 |
|
Jürg Lehni
|
9b75362f3e
|
Always respect options.asString
|
2013-11-01 18:27:20 +01:00 |
|
Jürg Lehni
|
29c00584be
|
Fix SVG parsing issues with multiple concatenated coordinate values
e.g. "1.5.5", is to be read as "1.5" and ".5"
|
2013-11-01 17:56:16 +01:00 |
|
Jürg Lehni
|
ac862f9bc4
|
Some minor code clean up and variable renaming.
|
2013-11-01 17:55:06 +01:00 |
|
Jürg Lehni
|
132f54d362
|
Define Item#clear() as an alias for Item#removeChildren(), or Path#removeSegments() for paths.
|
2013-11-01 17:52:27 +01:00 |
|
Jürg Lehni
|
df80eb2f23
|
Define PaperScope#paper as a reference to the local scope.
And use it to fix Raster JSON example.
|
2013-11-01 11:46:31 +01:00 |
|
Jürg Lehni
|
c76dae5b06
|
Implement a new strategy for importing JSON, where it is imported into the item itself, not its children list, if the class match.
|
2013-11-01 11:26:11 +01:00 |
|
Jürg Lehni
|
70ae7486e9
|
Clean up white-space.
|
2013-10-31 12:17:34 +01:00 |
|
Jürg Lehni
|
e8919174f8
|
Use matchShapes option in an example.
|
2013-10-30 16:19:10 +01:00 |
|
Jürg Lehni
|
2a9fe48cc9
|
Add options.matchShapes support to #exportSVG and improve documentation of various import / export functions.
|
2013-10-30 16:18:59 +01:00 |
|
Jürg Lehni
|
5d7c7a2409
|
Improve documentation of #hitTest()
|
2013-10-30 16:18:15 +01:00 |
|
Jürg Lehni
|
dc732da8d8
|
Clean up documentation for event handler functions on View and Tool.
|
2013-10-30 15:38:08 +01:00 |
|
Jürg Lehni
|
0ded3ae0ba
|
Implement PathItem#cubicCurveBy() and #quadraticCurveBy()
Closes #284.
|
2013-10-30 01:43:55 +01:00 |
|
Jürg Lehni
|
71a7781bdd
|
Fix comment.
|
2013-10-30 01:27:07 +01:00 |
|
Jürg Lehni
|
cabe253dea
|
Remove unused argument.
|
2013-10-30 01:26:05 +01:00 |
|
Jürg Lehni
|
2a88042315
|
Handle importing of SVG gradients for shapes, and drawing of canvas gradients correctly.
Closes #312.
|
2013-10-30 01:25:13 +01:00 |
|
Jürg Lehni
|
4869376c41
|
Fix issue with cloning gradient colors.
|
2013-10-30 00:41:14 +01:00 |
|
Jürg Lehni
|
eecf68b7c3
|
Clear ctx.shadowColor after ctx.fill() to avoid application to both fill and stroke.
Closes #314.
|
2013-10-30 00:00:04 +01:00 |
|
Jürg Lehni
|
db882748b1
|
Fix documentation of Point#angle.
Closes #320.
|
2013-10-29 23:37:05 +01:00 |
|
Jürg Lehni
|
dec7efc939
|
Remove unused variable center.
|
2013-10-29 22:02:29 +01:00 |
|
Jürg Lehni
|
6335393541
|
Remove unused function argument.
|
2013-10-29 22:01:49 +01:00 |
|
Jürg Lehni
|
825a090e6b
|
Bump version to v0.9.10
|
2013-10-29 22:00:23 +01:00 |
|
Jürg Lehni
|
f211c20e77
|
Make Palette code optional and only include id in paper-full.js
|
2013-10-29 21:56:00 +01:00 |
|
Jürg Lehni
|
4042d4fc2c
|
Only fire change events if values actually change.
|
2013-10-29 21:52:42 +01:00 |
|
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 |
|