Commit graph

2298 commits

Author SHA1 Message Date
Andrea Bogazzi
32278413e3 Update image.class.js
Removed render method, added support for x and y positioning, fixed toSVG
2014-08-05 12:48:29 +02:00
Andrea Bogazzi
09ba1e115b ToSvg , added some \n 2014-08-05 12:45:07 +02:00
Andrea Bogazzi
15b6798d0e Simplified ellipse class and fixed SVG export 2014-08-05 12:44:19 +02:00
Andrea Bogazzi
c120242865 Simplified circle class and fixed SVG export 2014-08-05 12:43:51 +02:00
Andrea Bogazzi
5e0dc2211b Update parser.js
Adding scaling of translating that was wiped by some commit
2014-08-05 12:42:58 +02:00
Andrea Bogazzi
fc1b9b96a9 Update object.svg_export.js
Added missing properties and transforMatrx export.
2014-08-05 12:42:06 +02:00
Juriy Zaytsev
686fa25ce9 Merge pull request #1564 from rodovich/empty-polygon-points
Fix importing polygons with empty `points` attributes
2014-08-05 00:54:36 +02:00
Jim Rodovich
642a577ba1 Check for points existing before trying to do anything with them. 2014-08-04 15:41:39 -05: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
kangax
818ab118b3 JSCS changes; Prepare for JSCS ignore support; down to 51 failures 2014-08-03 16:47:27 +02:00
kangax
922caa74c2 Version 1.4.10 2014-07-31 20:39:15 +02:00
Juriy Zaytsev
1d97a33299 Merge pull request #1505 from Bnaya/enhanced-set-dimensions
Enhanced set dimensions
2014-07-31 18:16:15 +02:00
Bnaya Peretz
f7fa1a874a tests 2014-07-31 18:19:19 +03:00
Bnaya Peretz
9f70f78411 Option to set css & backstore dimensions separatly
Introduced options param to the dimensions setters, options.backstoreOnly & options.cssOnly

When backstoreOnly set to true, only the value of the canvas element width & height will be changed.
When cssOnly set to true, only the css width & height of the involved DOM elements will be changed,
and you should include the unit of measure (px/%/em) with the passed value (eg '100px' '100%') and not just 100
2014-07-31 18:19:19 +03:00
Juriy Zaytsev
d720ea5fd6 Merge pull request #1544 from mgalang/master
Add image blend filter
2014-07-30 20:02:20 +02:00
Marc Galang
47d06c0cad Use createCanvasElement instead of createElement. Fix indentations. 2014-07-30 20:04:57 +03:00
Juriy Zaytsev
1427a3a914 Merge pull request #1545 from sorich87/hotfix/guidelines-broken-by-origin-and-zoom
Fix aligning and centering guidelines broken by origin and zoom
2014-07-30 13:47:07 +02:00
Juriy Zaytsev
0477eaf1dd Merge pull request #1546 from sorich87/feature/editorconfig
Add editorconfig (http://editorconfig.org/) to enforce coding style
2014-07-30 13:45:45 +02:00
Ulrich Sossou
3e1cde60bf Add editorconfig (http://editorconfig.org/) to enforce coding style 2014-07-30 08:57:54 +01:00
Ulrich Sossou
28dd7ec582 Use rounded values to compare position of object to center of the canvas because object x and y after zoom may not be integers 2014-07-30 08:52:25 +01:00
Ulrich Sossou
f45cff11c5 Fix guidelines drawing when canvas zoomed 2014-07-30 08:50:18 +01:00
Ulrich Sossou
5fc0b07577 Fix object position when aligned to guidelines 2014-07-30 08:46:11 +01:00
Marc Galang
541393b991 Add blend filter. Implements several image blend modes (can add more later) 2014-07-30 10:14:02 +03:00
Juriy Zaytsev
6769228d18 Merge pull request #1532 from boonkerz/patch-1
Update to Fix select text in itext last letter issue #1429
2014-07-29 10:15:44 +02:00
Juriy Zaytsev
846c59569f Merge pull request #1538 from asturur/ie9-fix
Fix IE9 incompat
2014-07-27 18:41:06 +02:00
Andrea Bogazzi
221dc595a5 Update parser.js 2014-07-27 16:58:54 +02:00
boonkerz
c20a3b1482 Fix for Linter
Fix for Linter #1429
2014-07-27 02:21:24 +02:00
kangax
e77a810774 Few JSCS fixes 2014-07-26 21:29:09 +02:00
kangax
767db47995 Build distribution 2014-07-26 21:23:02 +02:00
Juriy Zaytsev
1e5b347987 Merge pull request #1536 from asturur/Style-sheet-parsing-and-test
Better stylesheet parsing
2014-07-26 19:38:15 +02:00
Juriy Zaytsev
1f9f70ce9b Merge pull request #1533 from asturur/circle-bounding-box
Fix circle radius during initialization
2014-07-26 19:36:21 +02:00
Juriy Zaytsev
9494459532 Merge pull request #1534 from asturur/rotation-control-and-flipy
Make rotation point be on top if obejct is flipped
2014-07-26 19:35:25 +02: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
Andrea Bogazzi
ce2530661c Update parser.js 2014-07-26 19:19:22 +02:00
kangax
e5574a0ab4 Add test instructions to README 2014-07-26 17:58:03 +02:00
Andrea Bogazzi
d9f8a2f9da Update object_interactivity.mixin.js 2014-07-26 15:24:02 +02:00
Andrea Bogazzi
7b15e8b461 Update circle.class.js 2014-07-26 15:21:48 +02:00
boonkerz
39618701c2 Update to Fix select text in itext last letter issue #1429
This fixes the select issue.

Currently i have not understand why this line exists.
After delete nothing happen except the issue is fixt :)
2014-07-26 13:17:30 +02:00
Juriy Zaytsev
8425968f05 Merge pull request #1526 from boonkerz/patch-1
Fix Firefox keypress rendering arrow keys in itext. Closes #1434
2014-07-25 12:47:00 +02:00
Stefan Kienzle
58c4e84d6c Merge pull request #1527 from kreig/patch-2
globalCompositeOperation support (fillRule)
2014-07-25 11:52:10 +02:00
kreig
d3f28eb1f0 globalCompositeOperation support (fillRule)
Fixes fillRule settings for text object as it was mentioned in https://github.com/kangax/fabric.js/pull/1172/files
2014-07-25 05:23:53 +03:00
boonkerz
e2633955e6 Update to Fix Firefox keypress arrow keys in itext symbols are shown #1434
Update to fix the issue #1434
2014-07-25 00:01:57 +02:00
Juriy Zaytsev
c0bfbce182 Merge pull request #1511 from asturur/passing-colorattributes
Passing colorattributes
2014-07-22 13:36:46 +02:00
Stefan Kienzle
266db1f9e0 Merge pull request #1517 from Kienz/issue1516
Fix freedrawing
2014-07-22 11:57:11 +02:00
Stefan Kienzle
045ce8b6bf Fix freedrawing (bug exists since commit #6b5f049bb0a459dd29e2927ed99094b3e7baec66) 2014-07-22 11:52:18 +02:00
asturur
93aafb9d7a Update parser.js
modified test.
2014-07-21 06:48:49 +02:00
asturur
cf1aa0049a Update parser.js
if we delete it , it won't pass to child graphic elements.
if this fillopacity is specified on a container element, it will change color of container element and then disappear. Color would then go to child element.
But if fill is specified on child element and fillopacity on parent element, this has to stay.
2014-07-21 06:47:40 +02:00
asturur
24a02b1eb6 Merge pull request #1 from kangax/master
sync head
2014-07-21 02:17:48 +02:00
kangax
c817fc1cb0 Version 1.4.9 2014-07-20 19:28:35 +02:00