Commit Graph

31 Commits

Author SHA1 Message Date
Eric Rowell
1166154c1b updated caching unit tests 2013-12-30 19:51:42 -08:00
Eric Rowell
e1558c1b40 caching mechanism no longer auto adjusts offsets. It causes too many side effects 2013-12-30 14:34:57 -08:00
Eric Rowell
a47726eb2f added support for cached node with transformed ancestors 2013-12-29 21:40:37 -08:00
Eric Rowell
c39726101f added unit test for layer caching 2013-12-29 19:46:53 -08:00
Eric Rowell
0899cdb1a3 new graph caching mechanism now supports containers as well. added test 2013-12-29 19:30:44 -08:00
Eric Rowell
90b07cea05 refactored Container drawScene and drawHit methods, and cleaned up clipping logic. Clipping now correctly also clips the hit graph 2013-12-29 14:07:58 -08:00
Eric Rowell
264f24e241 added cache perf test. refactored Star.js to better incorporate getters 2013-12-28 13:52:03 -08:00
Eric Rowell
b5165fa8fb first pass at new drawing caching mechanism 2013-12-28 13:25:15 -08:00
Eric Rowell
4866acdf93 transformsEnabled property now accepts all, none, or position. Also started prelim work for new caching system 2013-12-19 23:29:23 -08:00
Eric Rowell
b273c29aee removed old test directory. added getter setter overloaders to Shape. Began redoing documentation on Node 2013-12-13 21:33:40 -08:00
Eric Rowell
fe7b4daebc factor methods now also build overloaded attr functions. i.e. instead of setScaleX(5), you can use scaleX(5). Instead of getScaleX(), you can use scaleX() 2013-12-13 11:02:07 -08:00
Eric Rowell
f31254bb87 improved transformsEnabled logic and added tests 2013-12-11 22:34:02 -08:00
Eric Rowell
cd1ae9141e visible attr can now be inherit, true, or false, like listening 2013-12-11 07:46:49 -08:00
Eric Rowell
6d31f6ed08 new transformsEnabled property which yields absolute best rendering performance 2013-12-10 23:28:46 -08:00
Eric Rowell
0bad22955a removed instances of hit graph enable caching. Too complex and error prone at the moment 2013-12-09 22:15:26 -08:00
Eric Rowell
1f4ff9f1d7 cleaned up isListening API. introduced new enableHitGraph config that can be used to disable the hit graph 2013-12-09 10:07:08 -08:00
Eric Rowell
89de3030af all unit tests are now passing except for filter tests 2013-12-04 09:55:17 -08:00
Eric Rowell
f217200ed7 reverted factory methods but removed data type processing 2013-12-04 09:10:24 -08:00
Eric Rowell
5d5a378375 more tweaks 2013-12-04 08:56:21 -08:00
Eric Rowell
fb25ba7c59 Factory getters now require function defaults which return an object literal because objects can be modified by reference 2013-12-03 22:54:16 -08:00
Eric Rowell
a57d6c6106 more unit tests working, more refactoring 2013-12-02 21:25:20 -08:00
Eric Rowell
4b62ecea7c combined Line, Spline, Blob, and Polygon into a single shape for more flexibility. converted allPoints property into cacheable getTensionPoints method 2013-11-30 00:24:47 -08:00
Eric Rowell
cbcd7d6c89 Merge pull request #688 from lavrton/getLayerFix
Get layer fix
2013-11-27 08:22:39 -08:00
Лаврёнов Антон
cf32e72b85 not this commit 2013-11-15 01:06:34 +08:00
Лаврёнов Антон
3c8c0831ab get layer fix 2013-11-15 01:02:21 +08:00
Лаврёнов Антон
d4b2892c13 toImage improvement 2013-11-12 18:57:58 +08:00
Eric Rowell
a8cbc2321d hooked opacity rendering into the buffer canvas logic used for shadows so that strokes and fill opacities aren't applied separately 2013-09-28 20:34:42 -07:00
ericdrowell
85db781630 deprecated the get() method and added find(). the change is backwards compatible 2013-09-20 14:08:51 -07:00
Eric Rowell
91fd14cc9f moved UA to Global namespace, and fixed scope issue in _drawChildren that was preventing nested draws from working correctly 2013-09-14 11:02:47 -07:00
Eric Rowell
c40fc7cf38 removed Global namespace. global stuff is now just global, inside the Kinetic namespace. There was no reason to have a secondary level for global vars 2013-09-08 22:02:04 -07:00
Eric Rowell
400fae734d migrated unit tests to Mocha 2013-09-08 21:36:54 -07:00