Commit graph

523 commits

Author SHA1 Message Date
kangax
b5d76f752d Add more image filters (Sepia, Sepia2, Brightness, Noise, GradientTransparency) based on Stoyan's demo — http://www.phpied.com/pixel-manipulation-in-canvas/ Fix bug with fabric.Image and filters. 2012-06-11 19:17:24 +02:00
kangax
b701627f42 Fix "stroke-width" being ignored in style attribute. 2012-06-10 12:13:12 +02:00
kangax
1da65cbead Build distribution. 2012-06-10 11:35:24 +02:00
kangax
787bb86198 Build distribution, bump version. 2012-06-07 16:24:44 +02:00
kangax
09585654a8 Cloned canvas now preserves background image (and all of its properties) properly. 2012-06-07 16:24:44 +02:00
kangax
e17fe9ddef Prevent error in fabric.Object#toDataURL when called before setCoords. 2012-06-07 16:24:44 +02:00
kangax
9e605340c1 Fix subclassing mechanism to work correctly with 2+ level deep inheritance. Closes #134. Closes #141. 2012-06-07 16:24:44 +02:00
Juriy Zaytsev
6c58524d73 Merge pull request #175 from Reggino/master
Escape XML globally.
2012-06-07 06:28:07 -07:00
Tim de Koning
a64ae3d9eb XML entities should be escaped globally! 2012-06-07 15:24:00 +02:00
kangax
bb389e4723 Removing active object now fires "selection:cleared" events. Closes #121. 2012-06-07 12:47:15 +02:00
kangax
1ae8aa3a69 Update distribution, bump version to 0.8.15. 2012-06-07 12:32:58 +02:00
kangax
9130ab7f60 Add "object:added" event. Fires when object is added to canvas (either via canvas.add or canvas.insertAt). 2012-06-07 12:32:58 +02:00
kangax
7791e9c2e0 IE fix for gradient parsing. 2012-06-07 12:32:58 +02:00
kangax
1bfa25acf4 Render canvas after setting background image. 2012-06-07 12:32:57 +02:00
Juriy Zaytsev
a239bdd2a8 Merge pull request #168 from garg/master
Fix `fabric.Object#toDataURL` to take bounding rectangle dimensions into consideration. Add `fabric.Object#getBoundingRectWidth`, `fabric.Object#getBoundingRectHeight`.
2012-05-31 14:50:06 -07:00
kangax
78eda278d1 Fix double tap issue in iOS. Closes #146. 2012-06-01 01:42:11 +04:00
garg
49a51b1388 Added getBoundingRectHeight and getBoundingRectWidth and changed toDataURL to use those instead of getHeight and getWidth. 2012-05-30 20:30:42 -03:00
garg
218b76bc23 Update dist/all.js 2012-05-30 20:14:59 -03:00
garg
d7cf6a576b Edited to use fabric.util.array.min and fabric.util.array.max 2012-05-30 20:12:56 -03:00
kangax
505b1dba87 Bump version to 0.8.13. 2012-05-30 15:58:08 +04:00
Juriy Zaytsev
f9568eb494 Merge pull request #170 from konieczkow/master
Rotation point now works after vertical flip.
2012-05-30 04:52:44 -07:00
kangax
1204b14e3c Remove extraneous easing module include. 2012-05-30 11:59:46 +04:00
garg
ca933e0cba Added returnMinFromArray and returnMaxFromArray. Removed extended array functions. Renamed getBoundingRectangleWidth to getBoundingRectWidth. Renamed getBoundingRectangleHeight to getBoundingRectHeight. 2012-05-29 23:00:18 -03:00
Maciej Gajewski
752339aa3e Rotation point now works after flipY. 2012-05-29 13:04:25 +02:00
Juriy Zaytsev
0a15033814 Merge pull request #169 from konieczkow/master
Add support for changing cursor style for rotation point.
2012-05-29 03:57:01 -07:00
Maciej Gajewski
1d037645b9 Added ability to set cursor for rotation point just as default cursor. 2012-05-29 12:42:41 +02:00
kangax
e4dbab85f1 Fix xml parser initialization. 2012-05-29 12:29:20 +04:00
garg
1bf382659e Fixed typo 2012-05-28 20:22:14 -03:00
garg
9c9fdc21e2 Removed console.log lines from getBoundingRectangleHeight and getBoundingRectangleWidth 2012-05-28 20:05:22 -03:00
garg
f66dbc41dc Update dist/all.js 2012-05-28 19:52:55 -03:00
garg
1c0deef679 Update dist/all.js 2012-05-28 19:52:00 -03:00
garg
f99e4eb282 Update dist/all.js 2012-05-28 19:51:03 -03:00
garg
4e790bf8cf Update dist/all.js 2012-05-28 19:46:24 -03:00
garg
91e71633d6 Update dist/all.js 2012-05-28 19:44:57 -03:00
garg
6b043568d8 Update dist/all.js 2012-05-28 19:40:19 -03:00
garg
04164267b9 Update dist/all.js 2012-05-28 19:38:20 -03:00
garg
5a10ff63b5 Update dist/all.js 2012-05-28 19:37:01 -03:00
garg
c6c79a09cc Update dist/all.js 2012-05-28 19:28:36 -03:00
garg
038119b1e0 Update dist/all.js 2012-05-28 19:23:38 -03:00
garg
e25776b3c1 Update dist/all.js 2012-05-28 19:21:36 -03:00
garg
bee869cbd2 Updated getBoundingRectangleWidth and Height to use fabric.util.min 2012-05-28 19:18:13 -03:00
garg
5ccc83e424 Update dist/all.js 2012-05-28 18:29:11 -03:00
garg
4bf5d8ce7e Added getBoundingRectangleHeight and getBoundingRectangleWidth. Also changed Object#toDataURL to use getBoundingRectangleHeight and getBoundingRectangleWidth. 2012-05-28 18:26:04 -03:00
kangax
b929cbd7ed Bump allowed node to 0.6.18 2012-05-28 18:46:23 +04:00
kangax
ecdd0fb980 Try using "xmldom" instead of "o3-xml". 2012-05-28 17:22:37 +04:00
kangax
af67423df9 fabric.Image now renders image according to current width/height (not width/height of original image). 2012-05-27 23:48:00 +04:00
kangax
7030c3e582 Tweak package.json. 2012-05-25 15:40:13 +04:00
kangax
35afa0c9c1 Fix size of selection border of scaled circles. Closes #157. 2012-05-25 15:34:01 +04:00
kangax
0e79544c12 Preserve hasControls, hasBorders, hasRotatingPoint values during serialization. Closes #163. 2012-05-21 14:24:33 +04:00
kangax
c7f31d9d0e Export backgroundImage, backgroundImageOpacity, backgroundImageStretch in SVG. Closes #125. 2012-05-16 15:25:18 +04:00