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
asturur
81092715c1
Update misc.js
...
added missing space.
2014-07-17 00:38:55 +02:00
asturur
d78996194b
Update misc.js
2014-07-17 00:37:27 +02:00
asturur
bf4fa0091f
Update misc.js
...
add parseUnit function to normalize mm,cm,in,pt,pc to pixels.
res is setted to 96dpi is not real screen resolution dependant.
2014-07-16 15:29:41 +02:00
kangax
69fdc220e1
Add JSDoc validation in JSCS. Few style/doc fixes.
2014-07-16 11:45:50 +02:00
Tom French
009c5389bf
JSHint, restoring .gitignore
2014-05-31 18:08:33 +01:00
Tom French
0d8db88e71
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
.gitignore
dist/fabric.js
dist/fabric.require.js
src/brushes/circle_brush.class.js
src/canvas.class.js
src/mixins/canvas_events.mixin.js
src/mixins/object_geometry.mixin.js
src/mixins/object_interactivity.mixin.js
src/shapes/group.class.js
src/shapes/image.class.js
src/shapes/object.class.js
src/shapes/path_group.class.js
src/shapes/text.class.js
2014-05-31 17:29:55 +01:00
kangax
2acdc7e85b
Fix few bracketless statements. Down to 257 failures on JSCS.
2014-02-27 15:00:42 -05:00
kangax
d2f6a9033e
Add JSCS validation & change bunch of things for conformance. Down to 333 failures from ~1000.
2014-02-16 16:36:14 -05:00
Tom French
b0e944c251
Merge branch 'master' of https://github.com/kangax/fabric.js
...
Conflicts:
dist/all.require.js
2013-12-05 19:46:47 +00:00
Tom French
ce4809d1e8
Merge branch 'master' of https://github.com/kangax/fabric.js
...
Conflicts:
dist/all.js
dist/all.require.js
src/brushes/circle_brush.class.js
src/brushes/spray_brush.class.js
src/canvas.class.js
src/mixins/canvas_events.mixin.js
src/mixins/object_interactivity.mixin.js
src/shapes/group.class.js
src/shapes/image.class.js
src/shapes/object.class.js
src/util/misc.js
2013-12-05 19:45:39 +00:00
kangax
56f0bfb9cc
Avoid setting crossOrigin on an image if unspecified. Closes #971
2013-11-27 20:00:33 +01:00
kangax
de7b92bda5
Some refactoring; move arc into a separate file
2013-11-16 15:20:41 +01:00
kangax
779c2ef527
Move isTransparent logic to utils
2013-11-13 14:10:28 +01:00
kangax
1183464dde
Refactor arcToSegments
2013-11-10 17:13:01 +01:00
kangax
dcf1e1e980
Add data-url crossOrigin workaround
2013-11-06 21:16:44 +01: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
Kienz
6f115bbf1e
Fix fabric.util.enlivenObjects for empty fabric.Group objects
...
Add unit test
Fixes issue #943
2013-11-02 16:02:38 +01:00
Tom French
328f14f388
Add zoom
2013-10-31 17:36:18 +00:00
kangax
10c8a108d4
Unify image loading in few places
2013-10-27 13:12:48 +01:00
kangax
64f749f8d1
Remove duplication in Polyline/Polygon classes
2013-10-26 20:20:48 +02:00
kangax
7e9e27aba5
Fix object loading yet again
2013-09-24 18:34:32 +02:00
kangax
15a6a3c3df
Fix objects enlivening with sparse arrays. Version 1.3.3
2013-09-24 15:58:52 +02:00
kangax
83ca60e885
Fix resolveNamespace and getKlass on node
2013-09-24 13:25:38 +02:00
Kienz
9f6dea5d9e
Add reviver function to fabric.Canvas.loadFromJSON (and loadFromDatalessJSON)
...
Add unit test
2013-09-12 20:10:23 +02:00
kangax
d1bcd18de5
Fix resolveNamespace
2013-08-17 20:18:06 +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
f270ca0259
Move animation methods to an optional module
2013-07-28 15:25:31 +02:00
kangax
0bf607be2e
Revert polygon/polyline points change as it breaks shapes in SVG import section
2013-07-08 12:39:13 +02:00
Juriy Zaytsev
3076a7b45f
Merge pull request #736 from timandres/master
...
Fix polygon/polyline bounding box
2013-07-07 13:09:30 -07:00
kangax
a33a599417
Remove commented out code
2013-07-04 14:18:30 +02:00
Tim Andres
1576306ef0
Simplified fabric.util.getBoundingRect code
2013-06-28 17:29:07 -04:00
Tim Andres
09e438b0ee
Fixed bounding box bug with SVG parsed polylines and polygons
2013-06-28 16:39:15 -04:00