Commit graph

2452 commits

Author SHA1 Message Date
Juriy Zaytsev
ec1db65110 Merge pull request #1694 from asturur/FillRule-misunderstanding
Fill rule misunderstanding
2014-09-23 11:32:06 +02:00
kangax
db4688e02e Fix .jshintrc 2014-09-23 11:31:21 +02:00
Andrea Bogazzi
af1138a686 Divided FillRule from globalCompositeOperation 2014-09-23 08:53:56 +02:00
kangax
32e8463479 Add requirement for space before function’s { 2014-09-22 20:40:39 +02:00
kangax
0c41880e97 Add maximumLineLength restriction of 120 chars and space after comma 2014-09-22 20:40:39 +02:00
Juriy Zaytsev
9dbcca6c30 Merge pull request #1689 from asturur/old-master
Fixes for ie8 getPointer method.
2014-09-22 13:16:23 +02:00
Andrea Bogazzi
bdde7151a2 Update canvas.class.js
fix for ie8 missing width and height in bounds
2014-09-21 23:41:07 +02:00
Andrea Bogazzi
673d8584d9 Update object.class.js 2014-09-21 20:54:21 +02:00
Juriy Zaytsev
c6091b6be2 Merge pull request #1687 from asturur/fix-for-css-and-gradient-overwrite
Fix gradients being overwritten due to async loading
2014-09-21 15:46:42 +02:00
Andrea Bogazzi
18a23cf690 Update parser.js 2014-09-21 01:16:59 +02:00
Andrea Bogazzi
eef80ebaf2 Update parser.js 2014-09-21 01:16:25 +02:00
Andrea Bogazzi
a70321f9a8 Update elements_parser.js 2014-09-21 01:15:39 +02:00
kangax
066eb54d30 Increase maxstatements, few style fixes 2014-09-19 13:12:12 +02:00
Juriy Zaytsev
e9f310c2ce Merge pull request #1680 from asturur/Fix-Path-BoundingBox
Fix Path bounding box, improve rendering logic
2014-09-19 12:36:58 +02:00
Juriy Zaytsev
cc8e9314aa Merge pull request #1682 from wprl/master
Fix issue with document fragments. Closes #1681.
2014-09-19 12:18:29 +02:00
Andrea Bogazzi
f930e2ba65 Update arc.js
Fixed again code style
2014-09-19 00:22:07 +02:00
Andrea Bogazzi
b35f5ace64 Update arc.js 2014-09-19 00:17:04 +02:00
William P. Riley-Land
af0aad23b7 Fix issue with document fragments. 2014-09-18 15:42:32 -05:00
Juriy Zaytsev
4fa24bc0b6 Merge pull request #1672 from asturur/opacity-fix
Fix opacity for groups and nested groups
2014-09-18 20:25:38 +02:00
Juriy Zaytsev
79a612399b Merge pull request #1675 from asturur/Add-parameter-to-circle-startAngle-,-endAngle
Add Start and End angle to circle.
2014-09-18 15:04:29 +02:00
Andrea Bogazzi
0a6600ecb7 Update path.js 2014-09-18 14:54:36 +02:00
Andrea Bogazzi
0a958de01e Update canvas_static.js 2014-09-18 14:54:16 +02:00
Andrea Bogazzi
8aae7dec4a Update canvas.js 2014-09-18 14:53:08 +02:00
Andrea Bogazzi
cfbfaf7042 Update arc.js 2014-09-18 14:52:34 +02:00
Andrea Bogazzi
71aea4db4d Update path.class.js 2014-09-18 14:51:46 +02:00
Andrea Bogazzi
d0368e8c27 Update circle.class.js
Code styles error fix
2014-09-18 01:43:39 +02:00
Andrea Bogazzi
675965da4f Update circle.class.js
fixed typo.
2014-09-18 01:39:15 +02:00
Andrea Bogazzi
2f1b412f32 Update circle.js
Added start and end Angle to tests.
2014-09-18 01:34:32 +02:00
Andrea Bogazzi
18c7203335 Update circle.class.js
Add option to circle for start and end angle, to draw an ARC.
in radians, not in degree to avoid writing a setter and getter that does the conversion.
Internally is better radians i think.
2014-09-18 01:23:52 +02:00
Andrea Bogazzi
f6f359e6dd Update object.class.js
Fix opacity for groups.
Before it was working just in simple situation, now it should be ok both in path-group and in normal groups and nested groups.
2014-09-17 10:36:59 +02:00
Juriy Zaytsev
d3f091836d Merge pull request #1670 from zigotica/patch-1
README: note to include html5shiv for old IE
2014-09-16 17:06:38 +04:00
Sergi Meseguer
85ce0b5283 README: note to include html5shiv for old IE 2014-09-15 23:15:40 +02:00
Juriy Zaytsev
ad94d21541 Merge pull request #1660 from asturur/Fix-paths-toSVG
Update path.class.js
2014-09-14 12:29:15 +04:00
Juriy Zaytsev
1ebe46be41 Merge pull request #1664 from asturur/Polygon-and-Polylines-code-reduction
Polygon and polylines code reduction
2014-09-14 12:13:49 +04:00
Juriy Zaytsev
5349dcd657 Merge pull request #1665 from asturur/Fix-Gradient-part-3
Fix gradient part 3
2014-09-14 12:12:56 +04:00
Andrea Bogazzi
a4610822b5 Update object.class.js
Fix code style error.
2014-09-13 18:01:19 +02:00
Andrea Bogazzi
2415eec00d Update object.class.js 2014-09-13 17:05:17 +02:00
Andrea Bogazzi
e284fc0ec3 Update gradient.class.js 2014-09-13 17:03:56 +02:00
Andrea Bogazzi
ef18a5b9f1 Update polyline.class.js 2014-09-13 16:48:38 +02:00
Andrea Bogazzi
66c2714df8 Update polyline.class.js 2014-09-13 16:39:40 +02:00
Andrea Bogazzi
e05a5a78e3 Update polygon.class.js 2014-09-13 16:38:42 +02:00
Andrea Bogazzi
4e737abcde Update path.class.js
Fixes == with ===
2014-09-13 14:05:12 +02:00
Andrea Bogazzi
28784dc9b3 Update path.class.js
Like any other shape in fabric, when exported to svg, the shape has to be translated around origin.
This additional translation brings it there.

Fixes svg export of paths OUTSIDE of path-gropus. Inside was already ok.
2014-09-13 13:14:58 +02:00
Juriy Zaytsev
e6db38bb85 Merge pull request #1654 from zigotica/patch-1
bugfix: add toObject so Blend can be serialized
2014-09-12 17:58:25 +04:00
Sergi Meseguer
bc4c1c0c6d bugfix: add toObject so Blend can be serialized (added missing ;) 2014-09-12 15:53:59 +02:00
Juriy Zaytsev
071c63135e Merge pull request #1639 from asturur/Polygons-and-Polylines-top-and-left-property-precendece
Polygons and polylines top and left property precedence
2014-09-11 10:58:42 +04:00
Sergi Meseguer
879bfbbb62 bugfix: add toObject so Blend can be serialized (extend not needed) 2014-09-10 13:59:22 +02:00
Sergi Meseguer
af2b6c70b4 bugfix: add toObject so Blend can be serialized 2014-09-10 13:46:14 +02:00
Juriy Zaytsev
5d63f452a3 Merge pull request #1646 from asturur/Fix-bad-optimization-in-arc.js
Update arc.js
2014-09-09 16:22:10 +04:00
Andrea Bogazzi
7cbe8a965e Update arc.js
Fix useless optimization of code that was rendering arcs not correctly
2014-09-09 14:17:44 +02:00