Commit graph

1360 commits

Author SHA1 Message Date
Jeremy Watkins
d728951ccf Simple boolean option on canvas to allow scrolling on touchscreen devices 2013-08-20 10:44:53 -07:00
kangax
2f4cc5ec25 Update README 2013-08-18 21:34:16 +02:00
Juriy Zaytsev
b189210363 Merge pull request #796 from Kienz/patch-1
Add `fabric.Image.filters.Mask` unit test
2013-08-18 12:25:21 -07:00
Kienz
026df90193 Add fabric.Image.filters.Mask unit test 2013-08-18 21:01:50 +02:00
kangax
d1bcd18de5 Fix resolveNamespace 2013-08-17 20:18:06 +02:00
kangax
8b6f21cd38 Update distribution 2013-08-17 20:02:27 +02:00
kangax
199a6634f3 Downgrade node-canvas to 1.0.x since it's still causing problems on Ubuntu 2013-08-17 19:57:53 +02:00
kangax
80b1ed352b Remove animation from build script permutations 2013-08-17 19:57:52 +02:00
Stefan Kienzle
ad3b97225f Update build script - add image mask filter 2013-08-15 16:09:16 +02:00
Stefan Kienzle
bd60887ef2 Remove cursor reset in __onMouseUp (old fix for firefox). Closes issue #793 2013-08-15 16:06:26 +02:00
Juriy Zaytsev
751f39cc58 Merge pull request #792 from Kienz/maskFilter
Update `fabric.Image.filters.Mask` - based on https://github.com/kangax/fabric.js/pull/667 (@aleph1)
2013-08-14 13:00:49 -07:00
kangax
e1f7d16cbf Update build script, build distribution 2013-08-14 21:51:30 +02:00
kangax
a2e4d30a82 Add fabric.Canvas#skipTargetFind 2013-08-14 21:51:00 +02:00
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
a5ab1baf24 Don't call setCoords when rendering text 2013-08-14 13:54:39 +02:00
kangax
4b1d1140eb Doc additions 2013-08-14 12:55:09 +02:00
kangax
3317010fdf Add support for fabric.Text#skipFillStrokeCheck 2013-08-14 12:55:08 +02:00
Juriy Zaytsev
d94d88f14b Merge pull request #790 from Kienz/patch-1
Add filter root class `fabric.Image.filters.BaseFilter` from which all filter classes inherit from
2013-08-13 06:16:43 -07:00
Stefan Kienzle
e151d297fc Add filter root class fabric.Image.filters.BaseFilter from which all filter classes inherit from 2013-08-13 14:06:33 +02:00
kangax
b61bf51ac2 Update distribution again 2013-08-12 11:58:36 +02:00
kangax
79cd44650c Update docs, build distribution 2013-08-12 11:52:13 +02:00
Juriy Zaytsev
2a1093c72a Merge pull request #789 from Kienz/patch-1
Fix `fabric.Image.setElement`and image filter serialization. Closes #745
2013-08-10 08:13:53 -07:00
Kienz
a61b384684 Add toJSON back to image filters
Add toJSON to unit tests
2013-08-09 20:37:56 +02:00
Kienz
f2035da955 Add image filter tests
Doc fixes
2013-08-09 19:59:30 +02:00
Stefan Kienzle
6599d393ac Fix fabric.Image.setElement - now _element and _originalElement (until now _originalImage) are set. Closes #745
Add additional parameter callback (invoked after filters habe been applied).
Fix `fabric.Image.fromObject` - don't overwrite image width/height with object width/height.
`fabric.Image.applyFilters` only resets _originalElement - fixes issue if object's width/height are different to _originaElement's width/height
[BACK_INCOMPAT] Renamed `fabric.Image.filters` method `toJSON` -> `toObject`
Fix serializiation of fabric.Image filter objects
2013-08-09 14:18:27 +02:00
Juriy Zaytsev
add00416d7 Merge pull request #786 from Kienz/docFixes
Doc fixes, Update README (1800+ unit tests)
2013-08-08 09:44:11 -07:00
Kienz
92bdebfde7 Doc fixes, Update README (1800+ unit tests) 2013-08-08 18:31:26 +02:00
kangax
2c6f6c27b4 Doc fixes 2013-08-08 16:39:40 +02:00
Juriy Zaytsev
7ce8b35fd8 Merge pull request #784 from Kienz/colorFix
Add color "orange" to `fabric.Color.colorNameMap`
2013-08-07 15:17:05 -07:00
Juriy Zaytsev
942e591e47 Merge pull request #783 from Kienz/renderOnAddRemove
[BACK_INCOMPAT] `fabric.Canvas.renderOnAddition` is now `fabric.Canvas.renderOnAddRemove`. Closes #491
2013-08-07 15:16:36 -07:00
Kienz
31f1abac12 Add color "orange" to `fabric.Color.colorNameMap 2013-08-07 21:39:25 +02:00
Kienz
b63a943137 Renamed property renderOnAddition to renderOnAddRemove
fabric.Canvas.renderAll can now be disabled on removing objects (renderOnAddRemove = false)
Add tests for renderOnAddRemove (add, insertAt and remove)
jsdoc additions
2013-08-07 21:01:45 +02:00
kangax
4841e563f3 Update distribution 2013-08-07 13:55:45 +02:00
kangax
ef0ebebf0b Add _drawChars abstraction in text class 2013-08-07 13:52:35 +02:00
kangax
70b7deab7e Update build script to include shadow 2013-08-07 13:52:07 +02:00
kangax
5717df817b Fix error when parsing gradient-based fill attribute. Closes #749 2013-08-07 13:51:59 +02:00
kangax
bbe83dad0f Support reviver in Node's version of loadSVGFromURL and loadSVGFromString 2013-08-06 16:12:00 +02:00
kangax
abcfe52fef Build distribution. Version 1.2.9 2013-08-05 12:34:31 +02:00
kangax
9edba2c8f6 Add fabric.Image.pngCompression and use it in applyFilters under Node 2013-08-05 11:22:05 +02:00
kangax
60b102dcf3 Update node-canvas version 2013-08-05 11:22:05 +02:00
Stefan Kienzle
473663aea1 Merge pull request #767 from MeLight/master
Single click in freedrawing mode now works for pencil brush, circle brush and pattern_brush - fixes #756
2013-08-02 10:25:19 -07:00
Yuri Shmorgun
25b12d3cd7 Renamed putPaint to drawDot
Fixed more styling issues
2013-07-30 21:33:45 +03:00
kangax
c827c92aad Add oCoords in docs 2013-07-30 16:41:18 +02:00
kangax
a64cc65eb6 Pass abort option in fabric.Object#animate 2013-07-29 23:58:15 +02:00
kangax
b937793759 Build distribution. Version 1.2.8 2013-07-28 23:41:46 +02:00
Yuri Shmorgun
b507c0c18d Fixed tabs 2013-07-29 00:31:12 +03:00
Juriy Zaytsev
f55e25f904 Merge pull request #772 from Kienz/patch-1
Set object shadow and context shadow only if shadowColor is set
2013-07-28 10:49:05 -07:00
kangax
e6bc08701c Update centering methods docs to mention the need for setCoords 2013-07-28 19:43:07 +02:00
Kienz
e6188e55f3 Set object shadow and context shadow only if shadowColor is set
Otherwise toSVG() returns for every brush object a shadow filter
2013-07-28 18:36:29 +02:00
kangax
9df6f6b2d4 Fix animation mixin inclusion 2013-07-28 15:42:08 +02:00