Commit graph

368 commits

Author SHA1 Message Date
Andrea Bogazzi
af1138a686 Divided FillRule from globalCompositeOperation 2014-09-23 08:53:56 +02:00
Andrea Bogazzi
18a23cf690 Update parser.js 2014-09-21 01:16:59 +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
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
2f1b412f32 Update circle.js
Added start and end Angle to tests.
2014-09-18 01:34:32 +02:00
Andrea Bogazzi
c1bd4ea4a3 Update polyline.js 2014-09-03 22:40:45 +02:00
Andrea Bogazzi
2e6fb2c411 Update polygon.js 2014-09-03 22:39:54 +02:00
Andrea Bogazzi
a9e2211780 Update gradient.js 2014-08-16 08:16:12 +02:00
Juriy Zaytsev
4c7ad6a82d Merge pull request #1567 from asturur/SVG-EXPORT
Better SVG export
2014-08-07 20:42:56 +02:00
Juriy Zaytsev
4bcfef6277 Merge pull request #1557 from asturur/gradient-transform-impor
attribute gradientTransform import
2014-08-06 16:49:06 +02:00
Andrea Bogazzi
3064d5e569 Updated test for text 2014-08-05 13:22:12 +02:00
Andrea Bogazzi
0538fe68c9 Fixes tests for rects 2014-08-05 13:19:53 +02:00
Andrea Bogazzi
78a5221143 Mirrored tests from polygons 2014-08-05 13:19:07 +02:00
Andrea Bogazzi
c5a5ce3ce9 fixed differences for new transforms 2014-08-05 13:16:12 +02:00
Andrea Bogazzi
99cb87bfca fixes test for ellipses 2014-08-05 13:15:10 +02:00
Andrea Bogazzi
d2da5956cd fix tests for circle 2014-08-05 13:11:59 +02:00
Andrea Bogazzi
8500f28f8f removed x and y no more used for rect 2014-08-05 13:08:40 +02:00
Andrea Bogazzi
491b4d1c33 Fixed test for rect, x and y are no more used. 2014-08-05 13:07:01 +02:00
Jim Rodovich
9b74583532 fabric.Polygon.fromElement() shouldn't throw an error.
It can just return `null`.
2014-08-04 15:40:02 -05:00
Andrea Bogazzi
b27cba8921 Update gradient.js
Add test for imported transform
2014-08-03 20:55:04 +02:00
Bnaya Peretz
f7fa1a874a tests 2014-07-31 18:19:19 +03:00
Andrea Bogazzi
78561cc257 Update parser.js 2014-07-26 19:34:30 +02:00
Andrea Bogazzi
4d74abaa53 Update parser.js 2014-07-26 19:19:59 +02:00
asturur
93aafb9d7a Update parser.js
modified test.
2014-07-21 06:48:49 +02:00
asturur
6ceb1123b6 Update util.js 2014-07-18 19:54:50 +02:00
asturur
c346d297ad Update util.js
Any svg return a pathgroup
2014-07-18 19:43:42 +02:00
asturur
ddbcb47d23 Update text.js
So tests don't fail.
2014-07-18 18:03:21 +02:00
kangax
17bf29616d Try fixing char width for travis again 2014-07-18 14:43:54 +02:00
kangax
7de2aedf7c Try fixing char width for travis again 2014-07-18 14:33:50 +02:00
kangax
3e294fee94 Try fixing char width for travis 2014-07-18 14:27:25 +02:00
kangax
3df3c396a2 Fix unit tests 2014-07-18 13:11:18 +02:00
kangax
da0037447b Change height in itext test 2014-07-18 12:19:51 +02:00
Stefan Kienzle
306a040fef Fix initialization of viewportTransform array
Add unit tests
JSDoc tweaks
2014-07-17 13:28:55 +02:00
Paul Kaplan
a1cde528dc Add test for whitespace between commas 2014-07-14 09:57:14 -05:00
asturur
a95897313f Update object.js
i need bigger spacebar.
or better i need to stick something on comma key that press even space after it.
Something that can bend down in one direction but not in the other, so when i press comma it push spacebar down, and when i press spacebar i don't fire a comma!
2014-06-24 15:34:18 +02:00
asturur
62d281bd3d Update object.js
I'm not sure, i'm sorry i tried to guess.
2014-06-24 14:12:39 +02:00
Jim Rodovich
7d0c9ebb28 Add spec for multiple M/m commands being preserved.
This wasn't ever broken, but taken with the previous spec it makes more clear that there's a difference between `M 1,2 3,4` and `M 1,2 M 3,4`.
2014-06-06 10:37:24 -05:00
Jim Rodovich
ac095b9bd7 Add spec for multiple M/m coordinates being converted to L/l. 2014-05-30 10:16:02 -05:00
Stefan Kienzle
cbf59d577c JSON object without "objects" property throws "TypeError: Cannot read property 'length' of null" - Should now be fixed.
Add unit test.
Closes issue #1235
2014-05-13 13:32:55 +02:00
Stefan Kienzle
e0ee99caa4 Initialize "Noise" and "Brightness" filter with 0 instead of 100.
Closes issue #1257
2014-05-12 16:44:12 +02:00
kangax
9b964b7fbf Fix unit tests 2014-05-12 11:23:48 +02:00
kangax
87b0f2da35 Add support for transparent value in fabric.Color 2014-05-09 22:55:33 +02:00
Juriy Zaytsev
a20e329213 Merge pull request #1317 from rodovich/leading-decimal
Be able to parse numbers with no digits before the decimal point.
2014-05-09 00:31:46 +02:00
Jim Rodovich
849cfde78d Add test for parsing numbers with no digits before the decimal point. 2014-05-08 14:08:17 -05:00
Jim Rodovich
63fa09e8ee Update unit tests to use degrees for imported SVG rotations. 2014-05-08 13:53:00 -05: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
c8164959c8 Add support for SVG "visibility: hidden" 2014-04-16 14:05:34 -04:00