Jürg Lehni
|
6d38401f0c
|
Use faster direct Curve constructor instead of Base.create().
|
2013-06-25 09:58:18 -07:00 |
|
Jürg Lehni
|
9c5416360c
|
Use direct constructor instead of #initialize().
|
2013-06-25 09:56:34 -07:00 |
|
Jürg Lehni
|
52c889428b
|
Remove Curve.create() in favor of direct constructor.
|
2013-06-25 09:54:13 -07:00 |
|
Jürg Lehni
|
772c83596f
|
Replace Base.create() calls in favor of faster direct constructors.
|
2013-06-25 09:50:14 -07:00 |
|
Jürg Lehni
|
7e24de7c74
|
Replace SegmentPoint.create() in favor of normal constructor.
|
2013-06-25 09:48:51 -07:00 |
|
Jürg Lehni
|
3d5ae373a8
|
Remove static create() methods from LinkedPoint/Size/Rectangle, and give them initialize() methods instead that also name the classes in debugging.
|
2013-06-25 09:41:55 -07:00 |
|
Jürg Lehni
|
c6e50375df
|
Expose nativeBlendModes and amend BlendModes example with information about the use of native modes.
|
2013-06-24 15:55:15 -07:00 |
|
Jürg Lehni
|
1866e4ff15
|
Remove need for all special arguments in minification, and restructure code to avoid warnings.
|
2013-06-24 10:15:54 -07:00 |
|
Jürg Lehni
|
7975232ee7
|
Remove workaround for obscure WebKit bug.
It wasn't fully working either. Solution:
https://bugs.webkit.org/show_bug.cgi?id=109961
|
2013-06-24 09:37:25 -07:00 |
|
Jürg Lehni
|
b989892c24
|
Update copyright note about straps.js
|
2013-06-24 09:12:45 -07:00 |
|
Jürg Lehni
|
78a3e87ca1
|
Prevent separate View file in docs.
|
2013-06-24 09:10:26 -07:00 |
|
Jürg Lehni
|
f56794bad4
|
Remove global variable leakage.
|
2013-06-24 04:52:13 -07:00 |
|
Jürg Lehni
|
e6bed426d7
|
Make inclusion of PaperScript optional and build a core version of the library without it.
|
2013-06-24 04:49:45 -07:00 |
|
Jürg Lehni
|
eef736f3d8
|
Move define() statement to export.js and remove define hack in PaperScript.
|
2013-06-24 04:40:35 -07:00 |
|
Jürg Lehni
|
4b53d558f1
|
Refactor PaperScript code so it can be moved outside of main paper scope.
Allowing for better minifaction and the potential use of strict mode due to absence of with() statements inside the main paper scope.
|
2013-06-24 04:40:07 -07:00 |
|
Jürg Lehni
|
fa3f91a754
|
Move PaperScript.get/setAttribute() to PaperScope.
|
2013-06-24 04:23:34 -07:00 |
|
Jürg Lehni
|
75c1225d4f
|
Prevent overriding exported classes by inheriting classes with same _class value.
|
2013-06-24 04:22:43 -07:00 |
|
Jürg Lehni
|
a4535edbb9
|
Bring back _class names, since code minification breaks reliance on constructor.name.
Closes #248.
|
2013-06-23 20:18:32 -07:00 |
|
Jürg Lehni
|
dff39dff78
|
Use local bounds for hit-testing.
Fixes issue #247.
|
2013-06-23 19:49:36 -07:00 |
|
Jürg Lehni
|
9f7167a47f
|
Clean up Item#hitTest() code.
|
2013-06-23 19:01:48 -07:00 |
|
Jürg Lehni
|
58f697abfc
|
Fix hit-testing for guides.
|
2013-06-23 19:01:36 -07:00 |
|
Jürg Lehni
|
76426c4cb3
|
Take #visible state into account when hit-testing.
Closes #243.
|
2013-06-23 17:55:14 -07:00 |
|
Jürg Lehni
|
1e81176cf1
|
Merge branch 'master' of github.com:paperjs/paper.js
|
2013-06-23 17:22:30 -07:00 |
|
Jürg Lehni
|
4b62949318
|
Fix tests for #246.
This is actually the right behavior: Setting length to negative values should flip around defined vectors.
|
2013-06-23 17:22:13 -07:00 |
|
Chris Barmonde
|
68626ca62b
|
Fix project.clear() so it removes all layers properly.
|
2013-06-20 20:14:47 -06:00 |
|
Jürg Lehni
|
ca0513b1b2
|
Fix namespace for images in SVGExport.
|
2013-06-19 08:22:20 -07:00 |
|
Jürg Lehni
|
719b9d5e24
|
Move logic that determines if item can be directly composited into separate per-item #_canComposite() method.
|
2013-06-19 08:22:08 -07:00 |
|
Jürg Lehni
|
258c404b98
|
Move curvature calculations into Curve.evaluate(), and define unit tests for it.
|
2013-06-18 19:00:05 -07:00 |
|
Jürg Lehni
|
619a8f88f8
|
Clean up code a bit in Curve#getCurvatureAt().
|
2013-06-18 18:29:44 -07:00 |
|
Jürg Lehni
|
3d78e3729d
|
Fix issue with PaperScript and array[i++] expressions.
|
2013-06-18 18:18:39 -07:00 |
|
Jürg Lehni
|
4bda878f5f
|
Fix accidental code removal.
|
2013-06-18 17:35:49 -07:00 |
|
Jürg Lehni
|
2241329321
|
Fix id clash in SVGExport.
|
2013-06-18 17:29:00 -07:00 |
|
Jürg Lehni
|
742ae16de1
|
Add support for SVG mix-blend-mode attribute.
Browsers have yet to support it though.
|
2013-06-18 17:19:31 -07:00 |
|
Jürg Lehni
|
278a9771ba
|
Minor clean-ups.
|
2013-06-18 17:02:02 -07:00 |
|
Jürg Lehni
|
785381b148
|
No need to set default color anymore due to detection of CSS style changes on any level.
|
2013-06-18 16:59:47 -07:00 |
|
Jürg Lehni
|
30c96dc9c1
|
Remove access to _style since we're using getters / setters on items directly now for SVGStyles.
|
2013-06-18 16:58:28 -07:00 |
|
Jürg Lehni
|
6e91d2ac9b
|
Rearrange exporter sequence.
|
2013-06-18 16:57:09 -07:00 |
|
Jürg Lehni
|
7c1e10e35e
|
Move Item#opacity support to SVGStyles.
|
2013-06-18 16:54:48 -07:00 |
|
Jürg Lehni
|
938433c51f
|
Move Style#font support to SVGStyles.
|
2013-06-18 16:49:58 -07:00 |
|
Jürg Lehni
|
ad034fbb56
|
Allow for better minification.
|
2013-06-18 16:18:13 -07:00 |
|
Jürg Lehni
|
f48ef4d1a0
|
Move more styles to SVGStyles and make them work on export too.
SVGExport now supports text justification.
|
2013-06-18 16:14:47 -07:00 |
|
Jürg Lehni
|
b532390d9c
|
Remove Clip class again.
Group can handle that.
|
2013-06-18 15:58:58 -07:00 |
|
Jürg Lehni
|
177229f99f
|
Define Group#transformContent as a boolean to control #applyMatrix() behavior.
And use it for SVG Import.
|
2013-06-18 15:57:30 -07:00 |
|
Jürg Lehni
|
f758fb306b
|
Rename #_applyMatrix to #_transformContent.
And swap names with private function...
|
2013-06-18 15:50:11 -07:00 |
|
Jürg Lehni
|
d7d6da0af8
|
Pass right value for dontNotify.
|
2013-06-18 15:47:14 -07:00 |
|
Jürg Lehni
|
691b2f8094
|
Fix issues with SVG Import and matrices on groups.
|
2013-06-18 15:46:49 -07:00 |
|
Jürg Lehni
|
f433423789
|
Respect _applyMatrix setting when calling #applyMatrix() in Group#_changed.
Required for Clip to work correctly.
|
2013-06-18 15:39:46 -07:00 |
|
Jürg Lehni
|
9633384122
|
Fix issue with colliding id ranges in SVG Export.
|
2013-06-18 15:01:18 -07:00 |
|
Jürg Lehni
|
db49718015
|
No need for white-space in CSS color format.
|
2013-06-18 14:33:50 -07:00 |
|
Jürg Lehni
|
75acdf1025
|
Add support for direct drawing of native blendModes for items that allow it.
Bypassing compositing into separate canvases completely.
|
2013-06-18 14:18:57 -07:00 |
|