Commit graph

264 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
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
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
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
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
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
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
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
kangax
9584ae2759 "backgroundImage", "backgroundImageOpacity", and "backgroundImageStretch" are now preserved correctly (when saving canvas to JSON/loading from JSON). Closes #139. 2012-05-16 14:51:10 +04:00
kangax
09d6a6451d Revert circle as rotating control for now (will need to figure out why scaling occurs there). 2012-05-15 18:36:34 +04:00
kangax
bcde14c83f Update distribution files and version. 2012-05-15 18:02:16 +04:00
kangax
64a9c5da6e Update distribution files. 2012-05-15 15:07:51 +04:00
kangax
76495a3874 Remove garbage from build.js. Build distribution. 2012-05-13 18:47:45 +04:00
kangax
7c95155c2e Add fabric.Canvas#getSelectionElement for retrieval of canvas element on which object selection is drawn. 2012-05-13 18:37:28 +04:00
kangax
5a2eb2e3df [BACK_INCOMPAT] fabric.Canvas#getContext now returns context of canvas element on which all objects are drawn. fabric.Canvas#getSelectionContext returns context of canvas element on which object selection is drawn. 2012-05-13 18:30:12 +04:00
kangax
35fcc980da Output rx/ry in object, JSON, and SVG representations of fabric.Rect. 2012-05-12 14:30:23 +04:00
kangax
8a84affd6c [BACK_INCOMPAT] Remove "memo" from event objects. e.memo.xxx is now e.xxx. 2012-05-12 13:44:26 +04:00
kangax
cba1d4ca21 [BACK_INCOMPAT] Move object straightening methods into its own, optional module (fabric.Object#straighten, fabric.Object.fxStraighten, fabric.Canvas#straightenObject). 2012-05-11 15:31:30 +04:00
kangax
5e4811ea20 Fix bug in SVG rendering. 2012-05-09 19:14:42 +04:00
kangax
6aef8a009d Fix bug where static canvas couldn't render overlay image. 2012-04-20 13:37:47 +02:00
kangax
0a0ab70f68 Add fabric.Canvas#cloneWithoutData. Fix broken unit tests. Bump version to 0.8. 2012-04-20 13:37:46 +02:00
kangax
b3768bcdd3 Check event.touches[0] exists before accessing a property. Thanks @zj831007. Closes #149. 2012-04-08 18:20:19 +02:00