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
f270ca0259
Move animation methods to an optional module
2013-07-28 15:25:31 +02:00
kangax
0bf607be2e
Revert polygon/polyline points change as it breaks shapes in SVG import section
2013-07-08 12:39:13 +02:00
Juriy Zaytsev
3076a7b45f
Merge pull request #736 from timandres/master
...
Fix polygon/polyline bounding box
2013-07-07 13:09:30 -07:00
kangax
a33a599417
Remove commented out code
2013-07-04 14:18:30 +02:00
Tim Andres
1576306ef0
Simplified fabric.util.getBoundingRect code
2013-06-28 17:29:07 -04:00
Tim Andres
09e438b0ee
Fixed bounding box bug with SVG parsed polylines and polygons
2013-06-28 16:39:15 -04:00
kangax
6597b8919b
Make sure only existent custom properties included in output. Closes #713
2013-06-19 12:49:45 +02:00
kangax
55eeed181b
Move drawArc to utils. Simplify and speed up fabric.Point
2013-06-06 02:49:42 +02:00
kangax
221146997c
Fix pattern initialization from function string. Closes #442 . Version 1.1.18
2013-06-02 22:07:16 +02:00
kangax
1c1b7e4b95
Fix function body matching regex. Add fabric.util.getFunctionBody
2013-06-01 18:08:36 +02:00
Kienz
cd49e7d90e
Update README
...
Move getKlass into seperate function (fabric.util.getKlass)
2013-05-31 20:52:04 +02:00
kangax
a6a5cb4a54
Load image via fabric.util.loadImage in cloneAsImage. Add fabric.util.createImage helper. Closes #593
2013-04-29 15:16:59 -04:00
kangax
c16dcf88a4
Change inline docs to conform to jsdoc3
2013-04-24 12:58:04 -04:00
kangax
e56d37d9da
Fix text and line rendering in path group. Add support for multiple declarations in "transform" attribute. Fix stroke color of line. Version 1.1.7
2013-04-18 21:42:46 -04:00
Tim Andres
3950298c75
Changed nestTransformMatrices to mutilplyTransformMatrices
2013-04-17 13:54:11 -04:00
Tim Andres
63809278d2
Documented new matrix multiplication utility
2013-04-16 02:26:22 -04:00
Tim Andres
e2bba99e98
Fixed path translation bug with SVG parsing
2013-04-16 01:49:42 -04:00
kangax
85fd7ee852
Add support for clipping objects. Closes #64
2013-03-10 21:06:17 +01:00
kangax
293227811f
Doc additions
2013-02-27 00:48:27 +01:00
kangax
80469a23eb
Fix createCanvasElement canvas initialization. IE<9 now works again.
2013-02-19 13:34:50 +01:00
kangax
9df85553b9
[BACK_INCOMPAT] Add fabric.util.createAccessors. Add accessors for fabric.Text -specific properties (setTextDecoration, setFontWeight, setFontStyle, etc.). Make text object dimensions change when setting dimension-affecting properties. fabric.Text#setFontsize becomes setFontSize. Version 1.0.11.
2013-02-18 16:22:48 +01:00
kangax
87a1bb31bf
Amalgamate canvas creation + VML initialization into one place. Add new method fabric.util.createCanvasElement. Version 1.0.3.
2013-01-25 14:23:13 +01:00
kangax
70119f7095
Refactor some logic from canvas and object classes into mixins
2013-01-20 20:40:26 +01:00
Josh Pearce
d56bf59137
Add image load onerror handler
...
Make sure, when loading from json, that
a bad image path doesn't fail the desserialization
Signed-off-by: kangax <kangax@gmail.com>
2013-01-04 19:14:24 +01:00
kangax
2735d543e2
Merge master. Enable hasRotatingPoint by default (now that objects are not rotated via corners)
2012-12-26 11:18:17 +01:00
kangax
c11abb377f
Fix tests. Build distribution. Version 0.9.35.
2012-12-23 15:28:08 +01:00
kangax
a37fcc92d4
Fix incorrect rendering of text + path SVG. Closes #355 .
2012-12-23 15:17:45 +01:00
kangax
e12b6598cd
Merge master
2012-12-18 18:12:08 +01:00
kangax
203ea6b51f
Doc fixes
2012-12-18 11:46:51 +01:00
kangax
6ed3dda6f5
Merge master
2012-12-15 17:16:39 +01:00
kangax
3416d8a090
Documentation additions.
2012-12-13 15:46:06 +01:00
kangax
0c1fd43fc1
First stab at dynamic origin of transformation (based on the excellent work of https://github.com/stormbreakerbg ).
2012-12-06 19:12:54 +01:00
kangax
2329ef59fe
Add support for specifying additional properties to return in toObject, toJSON. Fix #272 .
2012-11-30 23:46:09 +01:00
kangax
2e1d02148b
Get rid of _theta and update "angle" property dynamically. Version 0.9.22. Fix #283 .
2012-11-15 14:20:45 +01:00
kangax
84a956c4b6
Lint everything with JSHint. Version 0.9.14.
2012-10-14 02:53:12 +02:00
kangax
232f671b24
Fix loadFromJSON with async content.
2012-09-02 10:39:07 -04:00
kangax
249c330ed6
Add fabric.util.groupSVGElements for creating fabric.<Element> or fabric.PathGroup out of a group of elements.
2012-06-23 19:28:53 +02:00
kangax
126c2aa507
Merge master
2012-06-20 17:43:39 +02:00
kangax
da2ed018d8
Fix fabric.util.requestAnimFrame erroring out due to wrong "context".
2012-06-15 17:35:05 +02:00
Balthazar Auger
8724fa2bc1
Update default easing function
2012-04-26 00:01:42 -03:00
Balthazar Auger
f2a37a3bc0
Adapt fabric.util.animate to work with general easing equations
2012-04-24 02:28:45 -03:00
kangax
83e3c8bd9e
Initial implementation of generic groups. See https://github.com/kangax/fabric.js/wiki/Working-with-groups for more info.
2012-04-08 15:15:31 +02:00
kangax
0bb80dddf0
Fix fabric.Canvas#setOverlayImage('') not removing overlay image.
2012-01-21 23:07:16 -05:00
kangax
cb7a4bdf86
Remove reference to window in util/misc.js for node compat.
2011-12-09 16:24:37 -05:00
kangax
a8758ffbe1
Use requestAnimFrame polyfill instead of setInterval in fabric.util.animate. Add fabric.util.requestAnimFrame.
2011-12-08 09:44:05 -05:00
kangax
b8ea6b7cec
[BACK_INCOMPAT] Add support for static canvases — fabric.StaticCanvas. fabric.Canvas#loadImageFromURL -> fabric.util.loadImage. Add fabric.Canvas#centerObject.
2011-11-27 23:57:28 -05:00
Diogo Campos
a8166b355b
Remove unnecessary test in fabric.util.animate
2011-10-29 17:04:20 -02:00
kangax
19f7736658
Update documentation and fix JSDoc templates.
2011-09-22 12:40:31 -04:00
kangax
b53d794af6
[BACK_INCOMPAT] Custom fabric build is now created with node.js and is much more flexible. Sprockets is no longer required to build fabric. Parser and node are now optional modules, which means that parseSVGDocument is no longer included in default fabric build.
2011-08-14 17:35:36 -04:00