Commit graph

1482 commits

Author SHA1 Message Date
Andrea Bogazzi
ff2a24c3ae Simplified rect class and fixed SVG export 2014-08-05 12:58:50 +02:00
Andrea Bogazzi
ac7c208e4d Polyline: Fixes toSVG method, remove normalization 2014-08-05 12:57:32 +02:00
Andrea Bogazzi
ece0c1549f Polygon: Fixes toSVG method, removed normalization 2014-08-05 12:56:08 +02:00
Andrea Bogazzi
4a54069532 pathgroup: fixes toSVG method 2014-08-05 12:54:08 +02:00
Andrea Bogazzi
eef2e21c07 changed toSvg method 2014-08-05 12:51:20 +02:00
Andrea Bogazzi
f84091054f Object: Moved globalAlpha here, changes in render 2014-08-05 12:50:39 +02:00
Andrea Bogazzi
d40deb6d58 Fixed toSVG for line, changes in rendering logic 2014-08-05 12:49:34 +02:00
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
Jim Rodovich
642a577ba1 Check for points existing before trying to do anything with them. 2014-08-04 15:41:39 -05:00
kangax
818ab118b3 JSCS changes; Prepare for JSCS ignore support; down to 51 failures 2014-08-03 16:47:27 +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
Marc Galang
47d06c0cad Use createCanvasElement instead of createElement. Fix indentations. 2014-07-30 20:04:57 +03: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
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
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
Andrea Bogazzi
ce2530661c Update parser.js 2014-07-26 19:19:22 +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
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
045ce8b6bf Fix freedrawing (bug exists since commit #6b5f049bb0a459dd29e2927ed99094b3e7baec66) 2014-07-22 11:52:18 +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
d78451a6b9 Update parser.js
Don't miss A tags, they behave like g tags.
2014-07-20 14:38:22 +02:00
asturur
85ba574458 Update parser.js
Restored parseUseDirectives functionality, maintaining getElementsByTagName and  changing logic of running trought the list.
2014-07-20 13:44:44 +02:00
asturur
481b40549e Update parser.js
I should not multiply the translating values.
Fixes mathformla that was still outside the screen
2014-07-20 13:36:52 +02:00
Juriy Zaytsev
de42013e3f Merge pull request #1504 from asturur/various-fixes
Various SVG rendering fixes
2014-07-19 19:19:37 +02:00
asturur
21591588d5 Update parser.js
remove statements (2?) for travis
2014-07-19 10:23:06 +02:00
asturur
12f5c6356e Update parser.js 2014-07-18 20:42:21 +02:00
asturur
da99193ad6 Update text.class.js 2014-07-18 20:37:32 +02:00
asturur
fbbd763eb0 Update object.class.js
Fix border in case of stroke=color but strokewidth=0.
2014-07-18 20:14:51 +02:00
asturur
a52e081c25 Update parser.js
I forgot to delete one piece.
2014-07-18 20:07:24 +02:00
asturur
20df73c362 Update polyline.class.js
never touch too much.
2014-07-18 17:49:29 +02:00
asturur
c58abe2698 Update polygon.class.js
Never touch too much.
2014-07-18 17:48:28 +02:00
asturur
56b4caebbe Update parser.js 2014-07-18 16:37:55 +02:00
asturur
2495d58523 Update line.class.js 2014-07-18 16:28:29 +02:00
asturur
f610ffe9de Update path.class.js 2014-07-18 16:27:29 +02:00
asturur
4db2d6c5ed Update text.class.js 2014-07-18 16:24:34 +02:00