Commit graph

2040 commits

Author SHA1 Message Date
Juriy Zaytsev
91c32d89a7 Merge pull request #1323 from Kienz/issue-1257
Initialize "Noise" and "Brightness" filter with 0 instead of 100
2014-05-12 20:50:49 +02:00
Juriy Zaytsev
4cc1a0138a Merge pull request #1324 from Kienz/setAngleCenteredRotation
`fabric.Object.setAngle` now considers different originX/originY values other than "center". Closes #1093
2014-05-12 20:50:25 +02:00
Kienz
5ea264ae3d fabric.Object.setAngle consider different originX/originY values other than "center"
Closes issue #1093
2014-05-12 20:36:59 +02:00
Kienz
2c2ffb3187 Merge branch 'master' of https://github.com/kangax/fabric.js into setAngleCenteredRotation 2014-05-12 19:46:32 +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
Juriy Zaytsev
e8f2be82f5 Merge pull request #1321 from MeLight/master
Add Multiply filter
2014-05-12 15:13:33 +02:00
kangax
9b964b7fbf Fix unit tests 2014-05-12 11:23:48 +02:00
yuri
99a3a77267 Added Multiply filter 2014-05-12 00:39:02 +03:00
Kienz
2ce95c89ae Merge branch 'master' into setAngleCenteredRotation 2014-05-10 09:51:50 +02:00
kangax
a637800bda Build dist 2014-05-09 23:31:19 +02:00
kangax
f5691b4b4f Set default originX as center. Closes #974 2014-05-09 23:29:11 +02:00
kangax
4664b2985d Build dist 2014-05-09 22:55:33 +02:00
kangax
87b0f2da35 Add support for transparent value in fabric.Color 2014-05-09 22:55:33 +02:00
Kienz
dab103cafe Add coverage to .gitignore 2014-05-09 20:12:57 +02:00
Juriy Zaytsev
916b35b93d Merge pull request #1314 from rodovich/round-rect-arcs
Use a cubic bezier approximation for rounded rectangle corners.
2014-05-09 00:32:41 +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
Juriy Zaytsev
db015d2d47 Merge pull request #1316 from rodovich/degree-rotation
Perform imported SVG rotations in degrees, per the SVG spec.
2014-05-09 00:30:55 +02:00
Jim Rodovich
6a478e6791 Use a cubic bezier approximation for rounded rectangle corners.
According to the SVG spec these corners are supposed to be elliptical arcs.  HTML canvas does not have methods for elliptical arcs, but a cubic approximation can get within 0.02%.

Using the "magic number" from http://itc.ktu.lt/itc354/Riskus354.pdf.
2014-05-08 14:20:13 -05: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
Jim Rodovich
5b54f83548 Be able to parse viewbox numbers with no digits before the decimal. 2014-05-08 11:28:11 -05:00
Jim Rodovich
ed0b91109d Be able to parse numbers with no digits before the decimal point.
Per the [SVG spec](http://www.w3.org/TR/SVG11/types.html#DataTypeNumber), non-integer number values do not necessarily have any digits before the decimal point.
2014-05-08 11:20:56 -05:00
Jim Rodovich
95fd97fa63 Perform imported SVG rotations in degrees, per the SVG spec.
http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
2014-05-08 10:56:32 -05:00
Juriy Zaytsev
5dd7032aad Merge pull request #1312 from rodovich/round-rect-radii
Constrain rounded rect radii to half the width & height.
2014-05-08 02:09:38 +02:00
Jim Rodovich
76314abd95 Optimize for common case of radius 0. 2014-05-07 19:02:18 -05:00
Jim Rodovich
7b4455f29a Constrain rounded rect radii to half the width & height. 2014-05-07 10:25:34 -05:00
kangax
4d3f0a73b4 Update dev dependencies 2014-05-04 14:46:01 +02:00
Juriy Zaytsev
2778649924 Merge pull request #1299 from ggodlewski/master
Transform matrix and isInPathGroup fix for images
2014-04-28 17:40:30 -04:00
Grzegorz Godlewski
ce786cc3ad Transform matrix and isInPathGroup fix for images 2014-04-28 21:37:52 +02:00
kangax
d8c944e593 Build dist 2014-04-24 10:33:42 -04:00
kangax
9113b27e77 Revert _searchPossibleTargets optimization. Closes #1188 2014-04-24 10:33:33 -04:00
Juriy Zaytsev
c7b4b52981 Merge pull request #1282 from wilsonwc/master
Fix for #1237
2014-04-22 14:28:02 -04:00
Juriy Zaytsev
4b298e147c Merge pull request #1288 from Kureev/bower
Improvement for bower.json
2014-04-21 23:40:46 -04: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
Kureev Alexey
670fc89ca0 Improvment for bower.json
Add `ignore` section in the `bower.json` file to prevent full repository downloading with `bower install fabric`
2014-04-21 14:57:14 +04:00
kangax
e361bac652 Add node 0.11 to travis 2014-04-18 16:11:37 -04:00
kangax
ab1d4fec82 Build distribution 2014-04-18 16:08:06 -04:00
kangax
314e06db6d Fix fontWeight parsing 2014-04-18 16:07:59 -04:00
kangax
b3600e62a4 Add support for text-anchor's 2014-04-18 16:07:49 -04:00
Ross Wilson
14338a9559 Fix for #1237
Only set crossorigin on the element if something is specified
2014-04-16 13:03:02 -06:00
kangax
c8164959c8 Add support for SVG "visibility: hidden" 2014-04-16 14:05:34 -04:00
kangax
5e385e5ed0 Fix text offsets and size in SVG 2014-04-16 13:39:32 -04:00
kangax
f3b7884827 Add support for "evenodd" fill rule. Closes #1021 2014-04-15 20:09:01 -04:00
kangax
c53089a60a Version 1.4.5 2014-04-14 13:02:15 -04:00
kangax
d6a73aa7f5 Make isSameColor cave-insensitive. Closes #1272 2014-04-14 12:17:06 -04:00
kangax
a48ed5b31b Add support for display=none. Closes #1256 2014-04-10 17:47:36 -04:00
kangax
cfd71e9550 Fix viewBox parsing 2014-04-10 13:57:24 -04:00
kangax
64a09c6f7d Build distribution again 2014-04-09 18:02:47 -04:00
kangax
1335cf6932 Build distribution 2014-04-09 18:02:20 -04:00