Commit graph

77 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
787bb86198 Build distribution, bump version. 2012-06-07 16:24:44 +02:00
kangax
1ae8aa3a69 Update distribution, bump version to 0.8.15. 2012-06-07 12:32:58 +02:00
kangax
78eda278d1 Fix double tap issue in iOS. Closes #146. 2012-06-01 01:42:11 +04:00
kangax
505b1dba87 Bump version to 0.8.13. 2012-05-30 15:58:08 +04:00
kangax
e4dbab85f1 Fix xml parser initialization. 2012-05-29 12:29:20 +04: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
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
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
bcde14c83f Update distribution files and version. 2012-05-15 18:02:16 +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
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
76ee6586c6 Fix version for npm. 2012-05-09 19:14:42 +04: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
kangax
8411165bcd Revert "Fix rendering of lines where x1,y1 are less than x2,y2."
This reverts commit c7006df133.
2012-03-26 00:30:29 +02:00
kangax
c7006df133 Fix rendering of lines where x1,y1 are less than x2,y2. 2012-03-19 13:17:03 +01:00
kangax
feaddda1c0 Ditch o3-xml-fork for now (it fails even on node 0.4.x) when parsing SVG. 2012-02-15 16:26:58 -05:00
kangax
2ab05fdeb3 Add bunch of stuff to .npmignore 2012-02-14 12:50:11 -05:00
kangax
93565f135d Fix text offset issue when exporting to SVG. 2012-02-10 00:37:06 -05:00
kangax
21de5fdbd2 Build distribution; bump version. 2012-02-10 00:15:01 -05:00
kangax
b6179a6f64 Build distribution and bump version for previous change (removal of empty tspans). 2012-02-05 13:31:17 -05:00
kangax
13049361b0 Preserve image src for use in node.js. Add support for overriding src of images when exporting to SVG. 2012-02-03 23:27:45 -05:00
kangax
e9dee5a37d Make SVG export of text more reliable (rgba()-based colors now work in Illustrator). Cut off decimal parts of values in SVG output, which slims down the size. 2012-02-01 18:43:52 -05:00
kangax
6ce924b38d Use a fork of "o3-xml" package that allows to run under latest Node.js 0.6.8. Note that SVG parsing doesn't work when running under latest Node. Here's why — https://github.com/ajaxorg/node-o3-xml/issues/23#issuecomment-3705238 2012-01-29 12:30:39 -05:00
kangax
4e940ea55a Allow node 0.6.8 2012-01-27 12:46:34 -05:00
kangax
a99c1cc9bb Update package.json to allow higher version canvas package. 2012-01-27 12:42:47 -05:00
kangax
3d6ae8442f Fix object controls not working in IE8. Closes #92. 2012-01-26 19:39:30 -05:00
kangax
4565e0dd6a Fix parsing of gradients with stops that have absolute values (rather than percents). 2012-01-21 13:33:49 -05:00
kangax
c057b8b6d5 Fix vertical gradient rendering. Closes #108. Thanks aarr0n. 2012-01-21 12:59:30 -05:00
kangax
1c8b5c122d Avoid sub-pixel antialiasing when drawing straight vertical or horizontal lines. 2012-01-15 12:46:52 -05:00
kangax
23c4ec2068 [BACK_INCOMPAT] Remove fabric.Object#getCenter as it doesn't make sense (getLeft/getTop already return object center coordinates). 2012-01-10 14:16:16 -05:00
kangax
de8684cfda Fix text shadow rendering in exported SVG. 2012-01-06 19:58:21 -05:00
kangax
c39053456c Fix fabric.Text#textShadow to actually use specified color. 2012-01-05 22:39:30 -05:00
kangax
e20a37ba6a Add fabric.Image.filters.Invert (thanks Travis Paul). 2012-01-05 17:38:35 -05:00
kangax
c451f32c9f Fix text alignment in SVG export. Center- and right-aligned text now displays properly. Add more tests to SVG export test suite. 2012-01-04 17:18:42 -05:00
kangax
b84cf9f496 Update version to 0.7.5. 2012-01-02 16:19:39 -05:00
kangax
cb7a4bdf86 Remove reference to window in util/misc.js for node compat. 2011-12-09 16:24:37 -05:00
kangax
326d662eec Fix JS error in older browsers (e.g. FF4) when fabric.Rect's x/y are undefined. Closes #84. Thanks Kienz. 2011-12-08 10:31:30 -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
f3283cbb93 Update package.json to allow node 0.6.5. 2011-12-08 09:44:05 -05:00
kangax
4404882bc1 Update package.json to fabric 0.7. 2011-11-27 23:59:18 -05:00
kangax
6d376dd588 Fix gradient positioning in fabric.Gradient.forObject. 2011-11-20 12:34:36 -05:00