Stefan Kienzle
55d5d99fdc
Fix loadFromJSON for image objects without image filters
2013-08-21 10:08:35 +02:00
Stefan Kienzle
901ee7f942
Update fabric.Image.filters.Mask - based on https://github.com/kangax/fabric.js/pull/667 (@aleph1)
...
[BACK_INCOMPAT] `fabric.Image._initFilters` is now async, add parameter callback
Add `fabric.util.resolveNamespace` - used to get correct klass in `fabric.util.enlivenObjects`
Doc additions
2013-08-14 18:07:56 +02:00
kangax
79cd44650c
Update docs, build distribution
2013-08-12 11:52:13 +02:00
Kienz
f2035da955
Add image filter tests
...
Doc fixes
2013-08-09 19:59:30 +02:00
Stefan Kienzle
6599d393ac
Fix fabric.Image.setElement - now _element and _originalElement (until now _originalImage) are set. Closes #745
...
Add additional parameter callback (invoked after filters habe been applied).
Fix `fabric.Image.fromObject` - don't overwrite image width/height with object width/height.
`fabric.Image.applyFilters` only resets _originalElement - fixes issue if object's width/height are different to _originaElement's width/height
[BACK_INCOMPAT] Renamed `fabric.Image.filters` method `toJSON` -> `toObject`
Fix serializiation of fabric.Image filter objects
2013-08-09 14:18:27 +02:00
Kienz
92bdebfde7
Doc fixes, Update README (1800+ unit tests)
2013-08-08 18:31:26 +02:00
kangax
9edba2c8f6
Add fabric.Image.pngCompression and use it in applyFilters under Node
2013-08-05 11:22:05 +02:00
kangax
0c98f83fa4
Simplify node-based applyFilters
2013-07-27 20:47:45 +02:00
kangax
b53209437f
Move shape classes (circle, line, rect, path, etc.) to /shapes dir
2013-05-30 21:53:49 +02:00