Commit Graph

70 Commits

Author SHA1 Message Date
Eric Rowell
e8b479e89f optmized buffer canvas requirement logic 2013-09-29 13:01:13 -07:00
Eric Rowell
4cf15cedb8 rewrote shadow logic. fill and strokes are now both taken into account. shape and shadow opacities now work well together 2013-09-26 01:39:50 -07:00
Eric Rowell
63c6e9eea3 added functional tests. fixed line shadow bug 2013-09-25 23:32:44 -07:00
Eric Rowell
10dfeb5ef1 fixed #609 and also made sure that layer.clear() also clears the hit context 2013-09-23 08:31:14 -07:00
Eric Rowell
bf15d0679f added 3 param condition for context drawImage 2013-09-16 10:39:55 -07:00
Eric Rowell
5c328b838f fixed regression bug with createImageHitRegion. setup node server. Upated README with new test instructions 2013-09-16 10:12:50 -07:00
Eric Rowell
ede6fb2e17 fixed save/restore regression introduced in context._stroke() method 2013-09-15 23:42:12 -07:00
Eric Rowell
f31ff0b9e8 getTrace() can now operate in strict and relaxed modes. with relaxed mode, we can now also do a basic context trace test on renderings that may have different parameters in different browsers 2013-09-15 22:59:09 -07:00
Eric Rowell
6131385a4e refactored setLineDash a bit, added comments, and added a context trace assertion that tests line dash 2013-09-14 00:56:17 -07:00
Eric Rowell
9141953569 migrated more plugin tests, and continued working on context tracer 2013-09-07 20:55:03 -07:00
Eric Rowell
ee5f4c3e3b finished migrating all shape unit tests over to mocha. continued working on context tracing support 2013-09-07 17:57:48 -07:00
Eric Rowell
43376556a4 fixed up context clip method 2013-09-02 21:19:14 -07:00
Eric Rowell
7ac45b7c4c migrated Ellipse test to Mocha, and finished up context wrapper methods 2013-09-02 21:16:26 -07:00
Eric Rowell
f298267bd7 migrated text tests. added more context wrapper methods and properties 2013-09-02 20:35:25 -07:00
Eric Rowell
c802935208 changed fillStroke() to fillStrokeShape() for consistency 2013-09-02 11:09:30 -07:00
Eric Rowell
159959a077 migrated all Circle tests from old unit test framework to Mocha 2013-09-01 14:08:21 -07:00
Eric Rowell
fe551c1ece added more pass through methods for the new context class, and added more unit tests 2013-09-01 13:28:52 -07:00
Eric Rowell
0fc44eb3ff finished up all of the context traces for a simple rectangle rendering, and added unit test 2013-09-01 02:03:24 -07:00
Eric Rowell
8c3a53dc9d started working on context tracing. Added first context trace unit test 2013-09-01 01:13:52 -07:00
Eric Rowell
3ba89d36e7 introduced new Context class. I've bumped up the next release to v4.7.0 because this is a relatively big mind shift in how the framework works, and it's a big enough API change to warrant a minor update. This is the first step towards enabling context tracing for stellar unit testing 2013-08-31 21:49:18 -07:00