Eric Rowell
|
16f81f6204
|
fixed up stage toImage() translation problem
|
2012-12-11 00:21:43 -08:00 |
|
Eric Rowell
|
cb8d36c393
|
fixed several bugs with toImage(). toImage() can now also accept x and y params. added extensive caching unit test. removed drawBuffer logic as it is no longer needed
|
2012-12-11 00:08:59 -08:00 |
|
Eric Rowell
|
291583148b
|
moved all rendering logic into the Canvas renderer modules. Shape draw funcs are now passed a renderer object, not a canvas context. The context is accessible via canvas.getContext()
|
2012-12-09 09:52:33 -08:00 |
|
Eric Rowell
|
8e5297033b
|
optimized line shape drawing logic, and also added image cropping performance tests
|
2012-11-30 21:59:48 -08:00 |
|
Eric Rowell
|
8a195618cf
|
cleaned up some cropping logic in Image, and added a cropping unit test
|
2012-11-30 20:01:10 -08:00 |
|
Eric Rowell
|
047e26382e
|
added new wedge shape. cleaned up shape comments. added degToRad and radToDeg helper in Type utility
|
2012-11-29 20:15:01 -08:00 |
|
Eric Rowell
|
424e86bd2b
|
added warning check for toDataURL, and also improved image buffer unit tests
|
2012-11-28 22:19:49 -08:00 |
|
Eric Rowell
|
8958fbffc6
|
new applyShadow method for shape. Images with transparent pixels can now have shadows applied to them again. Fixed image stroke buffer rendering issue
|
2012-11-28 20:50:33 -08:00 |
|
Eric Rowell
|
60db1a2d43
|
cleaned up functional test data urls. Functional tests now pass with no warnings
|
2012-11-24 23:00:14 -08:00 |
|
Eric Rowell
|
94c3c913cb
|
cleaned up unit test data urls. All unit tests now pass with no warnings
|
2012-11-24 22:48:23 -08:00 |
|
Eric Rowell
|
0e6eb3ffe4
|
fixed up some text shadow issues
|
2012-11-24 09:15:02 -08:00 |
|
Eric Rowell
|
feb1c83aac
|
added unit test for group to image
|
2012-11-15 22:22:38 -08:00 |
|
Eric Rowell
|
b76cc09742
|
added Brighten filter
|
2012-11-04 10:52:33 -08:00 |
|
Eric Rowell
|
921d9f0caa
|
improved unit test for setDrawFunc()
|
2012-11-04 08:54:32 -08:00 |
|
ericdrowell
|
f1bc2fe4e8
|
updated unit tests
|
2012-10-06 16:11:49 -07:00 |
|
ericdrowell
|
07a8848098
|
updated text shadows unit test
|
2012-10-06 15:22:51 -07:00 |
|
ericdrowell
|
3f8801a494
|
setZIndex now correctly reorders layer canvases
|
2012-10-05 18:59:03 -07:00 |
|
Eric Rowell
|
1de5bce6e5
|
multi line text now correctly supports shadows
|
2012-08-26 18:49:05 -07:00 |
|
Eric Rowell
|
ddfcab2d55
|
layer reordering now correctly reorders scene canvases
|
2012-08-25 22:26:25 -07:00 |
|
Eric Rowell
|
87182d704c
|
fixed bug with stage.remove(layer). layer canvas context is now correctly removed from the dom
|
2012-07-28 22:16:29 -07:00 |
|
Eric Rowell
|
f1cb695e1f
|
you can now cache regions of a node outside of the stage viewport. added more unit tests
|
2012-07-21 15:38:25 -07:00 |
|
Eric Rowell
|
d74ec8ab06
|
fixed new bug with stage toDataURL that was introduced with the new Canvas class, and added new filter unit tests
|
2012-07-21 13:29:22 -07:00 |
|
Eric Rowell
|
384a686740
|
worked through some synchronous / asynchronous issues with toDataURL and toImage(). stage toDataURL() is now asynchronous, and all other node toDataURLs is still synchronous. toImage() is now asynchronous. Kinetic.Image once again only accepts image objects, and can no longer be instantiated with a data URL or image data due to asynchronous issues. It's much cleaner for the developer to load an image however they like, and then instantiate a Kinetic.Image shape synchronously
|
2012-07-15 20:12:18 -07:00 |
|
Eric Rowell
|
4692c51c74
|
toDataURL() is now synchronous, and works with all nodes, including the stage, layers, groups, and shapes. This also sets things up nicely for node caching. You can now cache anything, including the whole stage, layers, groups, or shapes, manifested as Kinetic Images that were instantiated with data urls
|
2012-07-14 18:10:37 -07:00 |
|
Eric Rowell
|
7f7cd24838
|
attr change events no longer bubble. updated functional test data urls
|
2012-07-07 11:52:04 -07:00 |
|
Eric Rowell
|
80eb50a708
|
added new clearBeforeDraw Layer property which enables you to skip canvas clearing before each draw. Added new warn() method to test suite, and added error and warning colorings to the test counter
|
2012-06-23 16:11:58 -07:00 |
|
Eric Rowell
|
40a92a9988
|
added unit tests for Jonathan\'s toJSON() fix
|
2012-06-21 21:46:52 -07:00 |
|
Eric Rowell
|
c8d8aa6028
|
changed draggable() to setDraggable(). added getDraggable(). added more unit tests and functional tests
|
2012-06-18 22:02:13 -07:00 |
|
Eric Rowell
|
a49fc610d6
|
moved several manual tests to the unit test page. Added another functional test. Added warning logs to the functional test framework
|
2012-06-16 01:21:35 -07:00 |
|
Eric Rowell
|
c1b9d44885
|
setup data url hash for functional tests so that we can compare the visual result before and after a series of simulated events
|
2012-06-16 00:02:55 -07:00 |
|
Jason Follas
|
b61c688a83
|
Implemented "a", "A". Added unit test for SVG "tiger" path (the canonical SVG example)
|
2012-06-05 23:56:46 -04:00 |
|
Eric Rowell
|
a2defa4bed
|
turns out there was no performance problems with the path (made a dumb mistake with implementation). However, during the analysis, I ended up adding event detection throttling which is pretty handy. It cuts down unecessary mousemove event handling dramatically and greatly improves performance when you have thousands of shapes
|
2012-05-27 23:41:05 -07:00 |
|
Eric Rowell
|
cc35abd0f6
|
first round of new Path shape. Despite multiple optimizations, the path performance isn't as good as a previous experiment done with v3.8.1. Will keep this as a separate branch until the performance issues are resolved
|
2012-05-27 21:46:03 -07:00 |
|