Commit graph

133 commits

Author SHA1 Message Date
Andrea Bogazzi
b5323bd83e make function just create canvas (#4172)
* make function just create canvas
* added tests
* added tests
2017-08-05 21:32:03 +02:00
Andrea Bogazzi
c705c6b4d8 Fix custom build (#4165)
* Update misc.js
* move the line in correct place
2017-08-03 22:14:17 +02:00
Asturur
f86370582c changes to build file 2017-07-29 16:28:30 +02:00
neopheus
3b06e685ef Some modifications (#4137)
* unnecessary semicolon
* comment error
* expression simplified
* simply function
* jsdoc update
2017-07-29 11:41:32 +02:00
Andrea Bogazzi
586e61dd28 Move all automatic renderAll to requestRenderAll (#4072)
* move to requestRenderAll
2017-07-04 23:13:10 +02:00
Andrea Bogazzi
d106051554 Remove accessors (#4065) 2017-07-03 17:02:44 +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
6185b07408 Limit cache size to upper and lower limit (#4035)
* just name change

* help

* test difference

* ok better limiting

* fix lint
2017-06-25 14:50:28 +02:00
Andrea Bogazzi
145bd3b03f Force async (#3996)
* removed forced async
* tests
* fixed lint
2017-06-11 21:36:51 +02:00
Andrea Bogazzi
7517b951ab Remove PathGroups for Groups. (#3969)
* removed pathGroups
2017-06-01 11:02:32 +02:00
Andrea Bogazzi
ff2909ebf8 fixed cache for first draw (#3870)
* fixed cache for first draw

* fixed tests
2017-04-23 13:44:22 +02:00
Andrea Bogazzi
7a987faef2 changes (#3717) 2017-02-18 23:47:32 -05: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
Asturur
e72881bb6d fix null object in enlived array 2016-12-27 10:43:49 +01:00
Asturur
2c9fd6dd66 fix null object in enlived array 2016-12-27 10:42:34 +01:00
Andrea Bogazzi
da253012c7 During load from json send error to reviver (#3586)
* send error to reviver
* add error to imageFromObject
2016-12-26 19:40:33 +01: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
neopheus
3544b727be Update code v2 (#3180)
* update JSDOC - v4
* update JSDOC -v5
2016-08-20 17:58:16 +02:00
neopheus
9b383628e8 JSdoc update (#3179)
* update JSDOC

* update JSDOC - v2

* update JSDOC - v3
2016-08-20 12:05:19 +02:00
Andrea Bogazzi
cf5f327f55 Extending test coverage (#3148)
* adding tests
2016-08-14 11:05:44 +02:00
Andrea Bogazzi
1843581488 Move charWidthCache from iText to fabric, allow single cache for font. (#2995)
divided cache in a single font cache objects, added method for clearing one font cache.
2016-05-23 08:16:59 +02:00
Juriy Zaytsev
5d0524a6bd Build dist, fix lint errors 2015-12-24 10:57:55 -05:00
Juriy Zaytsev
ae0aa7f981 Merge pull request #2689 from asturur/qrDecompone
use atan2 instead of atan and manual checks
2015-12-24 10:26:20 -05:00
Andrea Bogazzi
7b3da5008f use atan2 instead of atan and manual checks 2015-12-16 15:48:23 +01:00
Gábor Tóth
dfa5b4a103 fix for #2622 2015-12-15 15:50:00 +01:00
Andrea Bogazzi
f7f64d9ea2 Update misc.js 2015-12-07 22:55:18 +01:00
Andrea Bogazzi
b037095d6b Update misc.js 2015-12-07 22:42:23 +01:00
Andrea Bogazzi
d9b7becb67 Update misc.js 2015-12-07 22:33:43 +01:00
Andrea Bogazzi
b93a46b353 Update misc.js 2015-12-07 22:19:37 +01:00
Andrea Bogazzi
701a62053d make group transform support general transforms 2015-10-24 15:38:46 +02:00
asturur
ff79ab1aca first changes to group transform handling 2015-10-14 08:48:03 +02:00
Andrea Bogazzi
960a763d75 fix wrong english 2015-09-17 18:41:28 +02:00
Andrea Bogazzi
cda0611326 Add support for skew objects. 2015-09-17 14:22:12 +02:00
Andrea Bogazzi
cf19c6f6cc Update parser.js 2015-08-10 01:21:56 +02:00
sapics
7e9f17186f just code simpler 2015-06-11 11:16:41 +09:00
sapics
563ec42196 fix space and linebreak 2015-04-20 09:51:32 +09:00
Juriy Zaytsev
8dfaaab514 Merge pull request #2091 from asturur/multiplyMatrice
Shorter version of multiply transform matrix
2015-04-07 18:55:17 +02:00
Andrea Bogazzi
320a08faa1 bunch of spaces for jscs 2015-04-06 23:29:29 +02:00
Andrea Bogazzi
364bc29a5e Shorter version of multiply transform matrix 2015-04-06 23:18:15 +02:00
Andrea Bogazzi
8747ed1bd6 Update misc.js 2015-04-05 21:34:58 +02:00
Andrea Bogazzi
552c6a833c Update text.js 2014-10-28 17:12:10 +01:00
Andrea Bogazzi
c02315f36b remove normalize func not more used 2014-08-05 13:03:04 +02:00
kangax
818ab118b3 JSCS changes; Prepare for JSCS ignore support; down to 51 failures 2014-08-03 16:47:27 +02:00
asturur
7d3aa1cbef Update misc.js
Always return a pathgroup if we parse a svg.
2014-07-18 16:10:11 +02:00
kangax
3df3c396a2 Fix unit tests 2014-07-18 13:11:18 +02:00
Stefan Kienzle
6b5f049bb0 JSDoc + JSCS tweaks - Part 2 2014-07-18 11:16:23 +02:00
asturur
795d8a7aa5 Update misc.js
some more polishing, for me and for toFixed.
2014-07-17 16:38:09 +02:00
asturur
dfbd1887bf Update misc.js
some more polishing
2014-07-17 16:24:46 +02:00
asturur
0bb156f308 Update misc.js
it had some problem with len of string 0 and slicing from 0 to -0 , or calculating len of ''.
now is ok, rects went crazy and i didn't notice.
2014-07-17 07:44:03 +02:00
asturur
d34f970ffb Update misc.js 2014-07-17 00:42:31 +02:00