John Dean
1cf38e1886
Fix for IE11 IndexSizeError for negative source crops ( #5428 )
...
* Fix for IE11 IndexSizeError for negative source crops
2019-01-13 01:27:59 +01:00
Blob
3b314d11cc
Add strokeDashOffset and svg corresponding attribute ( #5398 )
...
* Add strokeDashOffset and svg corresponding attribute
2018-11-23 00:56:00 +01:00
Andrea Bogazzi
37fbeb9eec
Fix interaction between filters on restore ( #5346 )
2018-10-27 17:18:31 +02:00
Andrea Bogazzi
a7ff2bfb10
Rework SVG code to have clipPath friendly transformations ( #5284 )
...
* so far i think i broke everything
* halp super hard
* this is what i wanted
* fixed error
* some fixes
* svg-working
* less code
* fixed shadow for text and groups
* fixed tests
* one file test more
* fixed lint
* works
* ok more tests
* remove a lint issue
* removed unused method
2018-10-07 15:43:37 -04:00
Andrea Bogazzi
dd76fa2b6f
Clip path from json ( #5279 )
...
* better-than-nothing
* check that the active object exist
* test
* added a test
* added the code
* added a test for this case
2018-09-29 13:49:29 -04:00
Andrea Bogazzi
2a476e4277
Clip path parsing ( #4786 )
...
* first pass done
* restarted-clippaths
* some changes to element parser
* shared attribute
* done one piece
* cleaned
* mmm going there
* so far so good
* a very first draft
* removed dist
* sovled conflict
* now solved
* now solved
* some improvements
* toObject and fromObject added
* toObject and fromObject added
* more small changes
* added simple tests
* bumpedup qunit
* a test for svg export
* no ist
* more svg exporpt
* fix lint
* make possible to clip canvas
* improved JSOCS
* no builds
* invalidate cache anyway
* changes
* changes
* changes
* mmm working
2018-08-23 01:06:07 +02:00
Andrea Bogazzi
e8a5ad446b
naturalWidth and naturalHeight ( #5178 )
...
* naturalWidth and naturalHeight
* fixed test
2018-08-19 22:03:14 +02:00
Andrea Bogazzi
e5e4387915
fixed interaction between filters ( #5165 )
...
* fixed interaction between filters
* added tests
2018-08-13 02:25:47 +02:00
Andrea Bogazzi
5ee89354a6
Better use of filter isNeutral ( #5129 )
...
* done so far
* done so far
* added tests for isNeutral
* mini test for apply filter
* test lint
2018-08-05 11:25:53 +02:00
Andrea Bogazzi
464708aafc
To data url and zoom ( #5139 )
...
* added a new option
* deleted unused method
* passes
* ok there was an error
* reused util
* ok
* extra console.log
* fixed
2018-08-05 00:56:20 +02:00
Andrea Bogazzi
bafc28d3fc
Svg import improvements ( #4984 )
...
* test
* svg-import-fixes
* svg-import-fixes
* ok done
* adapted tests to new values
2018-05-29 10:28:02 +02:00
Andrea Bogazzi
1e5c64ff2a
Reset width and height for an image when swapping src ( #4877 )
...
* ok
* added simple test
* working test
2018-04-01 14:52:37 +02:00
Andrea Bogazzi
eb97ed56f2
ApplyFilters updates dirty flag in orde to refresh groups ( #4828 )
...
* added dirty to apply filter
* applied to resize filter too
* applied to resize filter too
* fixed test
* fixed tests
2018-03-17 01:12:19 -04:00
Andrea Bogazzi
b47815e411
added image crop ToSVG support ( #4738 )
...
* added svg crop support
2018-02-18 23:50:08 +01:00
Stefan Hayden
e13bc33c63
do not mutate passed object to fromObject ( #4699 )
...
* do not mutate passed object to fromObject
* add a test
* this is what you get for editing in github.com
2018-02-10 00:46:28 +01:00
Andrea Bogazzi
4f446020ba
added a simple test ( #4647 )
2018-01-26 11:12:27 +01:00
Asturur
9028ccf909
fix browser element mockup
2017-11-20 09:57:05 +01:00
Andrea Bogazzi
7eea5228b9
removed specific node code ( #4470 )
...
* removed node code
* fixed UTs
2017-11-19 20:00:01 +01:00
Andrea Bogazzi
a2f9c9f205
Fix image import from SVG when width/height are larger than element ( #4450 )
...
* fixed
* removed extra function;
* fix import of preserver
* added tests
* fixed test names
2017-11-12 01:30:22 +01:00
Andrea Bogazzi
ef85ed7eef
Ab webgl filter for resize ( #4426 )
...
* test another version
* a working webgl resize
* broke blur"
* broke blur"
* a working webgl resize
* better cache shader
* no dist
* better
* better2
* fixed tests
* linting
2017-11-04 11:57:05 +01:00
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