Commit graph

391 commits

Author SHA1 Message Date
kangax
c057b8b6d5 Fix vertical gradient rendering. Closes #108. Thanks aarr0n. 2012-01-21 12:59:30 -05:00
kangax
771ee6f89d Update year in header. 2012-01-20 14:29:51 -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
ffc8362b4a Merge branch 'master' of github.com:kangax/fabric.js 2012-01-04 12:32:15 -05:00
kangax
9814cf12b5 Add support for text background color in SVG representation. 2012-01-04 12:31:37 -05:00
Juriy Zaytsev
c3d772bd3e Update link to unit tests in README. 2012-01-03 18:43:52 -05:00
kangax
b84cf9f496 Update version to 0.7.5. 2012-01-02 16:19:39 -05:00
kangax
a595fd5516 Add start_server.js. 2012-01-02 16:18:40 -05:00
kangax
d870410a7d First (and almost complete) implementation of fabric.Canvas#toSVG. 2012-01-02 16:14:20 -05:00
kangax
3544410689 Fix bug in canvas initialization in node. Thanks Urs. 2011-12-10 13:26:52 -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
ebab02dc02 Better docs layout. 2011-12-08 09:44:05 -05:00
kangax
d72fceb14b Documentation tweaks. 2011-12-08 09:44:05 -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
Juriy Zaytsev
ad9fe2f064 Update README.md 2011-12-07 16:29:45 -05:00
kangax
ea99a1fc7c Pass actual event when firing synthetic "object:selected" one. 2011-12-05 12:55:31 -05:00
kangax
37f6e9d9b0 Build fabric distribution with modules=ALL. 2011-12-03 11:11:11 -05:00
Juriy Zaytsev
dff3d9bf40 Merge pull request #86 from jarek-itmore/master
Make it possible to render text object with custom fontWeight.
2011-12-02 08:05:40 -08:00
jarek
f4a9a7719e Merge remote-tracking branch 'upstream/master' 2011-12-02 09:53:33 +01:00
jarek
481fc8dd6e reverted changes from previous commit 2011-12-02 09:53:15 +01:00
kangax
eb9d64f89a Fix Opera <12 bug with canvas not getting correct prototype. 2011-11-28 19:47:41 -05:00
kangax
17926a17e8 Add build_docs.js script. 2011-11-27 23:59:43 -05:00
kangax
4404882bc1 Update package.json to fabric 0.7. 2011-11-27 23:59:18 -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
kangax
15c0dc3768 node build.js now does automatic minification
(minifier can be changed via "minifier" option)
2011-11-27 23:55:36 -05:00
jarek
f8045a84b9 fixed problem with drawing text object with non default fontWeight 2011-11-24 12:44:00 +01:00
kangax
6d376dd588 Fix gradient positioning in fabric.Gradient.forObject. 2011-11-20 12:34:36 -05:00
kangax
f3a3e81ea2 [BACK_INCOMPAT] Fix JS error when calling fabric.Image#toDataURL. toDataURL is now asynchronous, and passes data url to callback (first argument) instead of returning it. Closes #79. 2011-11-18 10:44:53 -05:00
kangax
aff78a0d1d Fix wrong opacity setting in fabric.Color. (thanks Javier Valero) 2011-11-14 15:10:35 -05:00
kangax
d6ea561d1a Move font_definitions.js to "site" module. 2011-11-14 15:09:42 -05:00
kangax
7adb4309de Add support for customizing canvas default cursor. 2011-11-11 15:01:20 -05:00
kangax
343a5a2605 Add fabric.util.makeElementSelectable (the opposite of makeElementUnselectable). 2011-11-08 12:35:20 -05:00
kangax
2e42f9bd9d fabric.Image#setElement now updates instance' width/height properly. 2011-11-03 18:12:53 -04:00
kangax
ef05d22f40 Update node-canvas dependency to 0.8.1. 2011-11-03 18:12:30 -04:00
kangax
d16e166e54 Fix element replacement in applyFilters (when no filters are present). 2011-11-02 17:25:20 -04:00
Juriy Zaytsev
4216a8ca00 Merge pull request #69 from dcsilva/animate
Remove unnecessary check in `fabric.util.animate`.
2011-10-29 12:37:04 -07:00
Diogo Campos
a8166b355b Remove unnecessary test in fabric.util.animate 2011-10-29 17:04:20 -02:00
kangax
ae9025ce5c Fix image filter initialization in node. 2011-10-29 14:36:09 -04:00
kangax
d226102fbb Make fabric.Image#applyFilters work in node. 2011-10-29 14:11:44 -04:00
kangax
bbe535848b Use higher version of jsdom module in package.json. 2011-10-28 17:10:11 -04:00
kangax
6c463afda5 Fix fabric.Canvas#backgroundImage bug. 2011-10-28 17:10:01 -04:00
kangax
94db7bfc8f fabric.Image.GrayscaleFilter --> fabric.Image.filters.Grayscale as per users request; Make image filters serializable. 2011-10-27 20:06:19 -04:00
kangax
ea0da5a987 Make sure fabric.Image#filters can be a sparse array. 2011-10-26 20:03:51 -04:00