Andrea Bogazzi
2e337613b0
Fix set element not clearing webgl texture cache ( #4410 )
...
* fix and test
* fix test
2017-10-25 10:09:10 +02:00
Stefan Hayden
0fc71349a6
Paint order ( #4303 )
...
* makes fabric aware of the paint-order svg2 spec to swap the paint order of stroke and fill
2017-09-17 22:47:35 +02:00
Andrea Bogazzi
c03111824c
Update deps ( #4315 )
...
* try replace tests
* modified tests for new qunit
* lint tests
2017-09-17 11:44:57 +02:00
Andrea Bogazzi
69d377b992
Output version ( #4251 )
...
* output version in json
* fixed tests
* fixed lint
2017-08-29 22:23:42 +02:00
Asturur
f331f6ead5
added missing newline
2017-07-15 13:35:23 +02:00
Andrea Bogazzi
392e21312b
introduce break test ( #4102 )
2017-07-15 13:21:59 +02:00
Andrea Bogazzi
c41ef91fca
Image meet or slice with cropX and cropY value ( #4055 )
...
* working example
* fixed tests
2017-07-03 12:20:10 +02:00
Andrea Bogazzi
145bd3b03f
Force async ( #3996 )
...
* removed forced async
* tests
* fixed lint
2017-06-11 21:36:51 +02:00
Andrea Bogazzi
e96ccf9ea6
new filtering with webgl ( #3915 )
2017-05-29 18:28:24 +02:00
Andrea Bogazzi
b979bd5861
switch to canvas prebuilt ( #3757 )
...
* swithced to canvas prebuilt
* try 2
* remove toolchanin needed to setup canvas
2017-03-14 12:37:07 +01:00
Andrea Bogazzi
ab68d3a4ab
Reuse come code between object and canvas ( #3600 )
...
* try to reuse code
* some fixes
* fixed errors
* Update util.js
2017-01-01 18:07:56 +01:00
Andrea Bogazzi
edb90be547
WIP Patternload ( #3598 )
...
* make pattern load async
* made all object loadable asyncronously ( filters )
2016-12-30 22:41:16 +01:00
Andrea Bogazzi
3c0fe81b77
be more strict on when not to re render ( #3594 )
...
* add more check to first return false
* fix ;
* fix ; in tests
* fix test
2016-12-28 13:22:23 +01:00
Jeremy Shipman
d0c32acf7f
Introduced testem test runner ( #3327 )
...
* Introduced testem test runner.
Install testem via 'npm install -g testem'
Run testem via 'testem'
* Fixed fixture image paths in tests
2016-10-05 09:12:26 +02:00
Andrea Bogazzi
08f60adbea
switch to eslint ( #3229 )
...
* switch to eslint 2.x
* fix src
* fix tests
2016-09-10 15:14:23 +02:00
Asturur
a1e5d518bf
fixed tests for browser
2016-09-01 08:31:56 +02:00
Andrea Bogazzi
bba8b3a705
bring callback toapplyfilters ( #3210 )
...
* bring callback toapplyfilters
2016-08-28 22:42:41 +02:00
Kyle Herock
181cdec80c
give getSrc a better role in this class. ( #3189 )
2016-08-22 10:43:17 +02:00
Andrea Bogazzi
a9cf96b9be
fix imageToObject with resize filters ( #2954 )
...
width and height get stored as before filtering in case of filters with type resize.
2016-05-09 12:11:48 +02:00
Andrea Bogazzi
c6815892f3
Check presence of originalElement before taking src ( #2878 )
...
* check presence of originalElement before taking src
* add test for image with null element
* Update image.js
* Update image.js
2016-04-11 15:30:35 +02:00
Andrea Bogazzi
0ea43f9175
Update image.js
2015-11-13 00:32:33 +01:00
Andrea Bogazzi
cda0611326
Add support for skew objects.
2015-09-17 14:22:12 +02:00
Juriy Zaytsev
bd09021b3b
Fix tests
2015-07-20 13:53:38 -04:00
Andrea Bogazzi
f805e57297
Update rect.js
2015-07-20 12:57:13 +02:00
Juriy Zaytsev
2171dd1379
Output less irrelevant information in fabric.Image#toObject
2015-07-17 17:42:30 -04:00
Juriy Zaytsev
68915cbcb6
Merge pull request #2164 from asturur/Fix-Image-from-Object
...
Fix image resize filter from object
2015-05-05 11:47:57 +02:00
Andrea Bogazzi
ed5b1b66b0
Fix image resize filter from object
2015-05-05 08:32:30 +02:00
sapics
0e18219bda
remove first start() call
2015-04-28 14:13:06 +09:00
kangax
94f7035624
Lint unit tests and fix errors/warnings
2015-04-23 11:47:35 +02:00
Andrea Bogazzi
49f449ee4f
Update image.class.js
2014-10-11 21:56:38 +02:00
Andrea Bogazzi
af1138a686
Divided FillRule from globalCompositeOperation
2014-09-23 08:53:56 +02:00
Ross Wilson
2c8641ff6d
test build
2014-04-21 11:29:18 -06:00
Ross Wilson
89f784d27f
Update test for fix of #1237
2014-04-21 11:13:26 -06:00
kangax
d0abb90f1c
Add fabric.Image#crossOrigin which allows crossOrigin image loading and canvas rendering without tainting. fabric.util.loadImage now accepts 4th argument (crossOrigin) and sets crossOrigin="" on image element by default. fabric.Image.fromURL can be passed crossOrigin via 3rd argument (options). Closes #263
2013-11-05 15:13:15 +01:00
kangax
330784ac2c
[BACK_INCOMPAT] Change default objects' originX/originY to left/top
2013-11-04 00:15:49 +01:00
kangax
f2ad6e5be6
[BACK_INCOMPAT] Move "backgroundColor" from fabric.Text to fabric.Object (only works with text for now). Remove fabric.Object#overlayFill. Remove fabric.Canvas.toGrayscale, fabric.Object#toGrayscale, and fabric.Object#overlayFill. Version 1.3.5
2013-09-28 23:47:53 +02:00
kangax
5ebd697978
[BACK_INCOMPAT] Remove selectable, hasControls, hasBorders, hasRotatingPoint, transparentCorners, perPixelTargetFind from default object/json representation of objects. Fix includeDefaultValues. Version 1.2.13. Closes #795
2013-09-11 11:41:00 +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
kangax
2407dbba49
Implement clipTo serialization, deserialization, and initialization. Closes #583 . Closes #677 . Closes #676
2013-06-02 23:04:54 +02:00
Kienz
d80fec5df1
Better strokeDashArray support + Fixes
...
- fabric.Text has now strokeDashArray support (only native support)
- fabric.Text.fill = null should now work
- Fix save/restore context in render methods => setLineDash affected drawBorder/drawControls
- Add strokeLineCap (default "butt"), strokeLineJoin (default "miter") and strokeMiterLimit (default 10)
- Add support for fabric.Object#fromElement for strokeDashArray (and other stroke properties)
- Add @default tag to properties (JSDoc 3)
- strokeDashArray now only works if stroke property is defined
- Add trokeLineCap (default "round"), strokeLineJoin (default "round") to fabric.BaseBrush
- Updated unit tests
2013-05-18 13:01:34 +02:00
kangax
fcc0c5cbbb
Only call change and complete callbacks once, when animating multiple properties. Closes #544
2013-04-06 12:44:10 +02:00
kangax
43dd170f5b
Add fabric.Object#visible property. Closes #342 . Version 1.0.13.
2013-03-06 18:45:18 +01:00
kangax
7b8dfe5a30
More test fixes
2013-02-17 13:48:21 +01:00
kangax
5ee9b13a92
Add support for shadows (via fabric.Shadow)
2013-02-04 20:49:05 +01:00
kangax
7121830ca6
Merge dynamic origin branch into master. Version 1.0.0
2012-12-29 20:04:24 +01:00
kangax
245de99834
Fix unit tests
2012-12-16 21:11:38 +01:00
kangax
f9eeeb2916
Fix unit tests.
2012-10-14 02:53:25 +02:00
kangax
ada83ffff5
Change unstable image test once again
2012-09-06 12:06:40 -04:00
kangax
98614842e7
Bring IMG_WIDTH/IMG_HEIGHT back.
2012-08-14 16:13:30 +02:00
kangax
7151dc211c
Fix failing unit tests.
2012-08-14 16:04:32 +02:00