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
asturur
3bf7fbc619
Update text.class.js
2014-07-18 16:24:15 +02:00
asturur
0c36a1a7cc
Update polygon.class.js
2014-07-18 16:13:46 +02:00
asturur
58e318f214
Update polyline.class.js
2014-07-18 16:12:39 +02:00
Juriy Zaytsev
b2377f4195
Merge pull request #1502 from asturur/fix-ordering-of-the-pieces
...
Fix ordering of SVG parsing
2014-07-18 16:10:53 +02:00
asturur
7d3aa1cbef
Update misc.js
...
Always return a pathgroup if we parse a svg.
2014-07-18 16:10:11 +02:00
asturur
848005c61b
Update elements_parser.js
2014-07-18 15:13:19 +02:00
kangax
3df3c396a2
Fix unit tests
2014-07-18 13:11:18 +02:00
Stefan Kienzle
6b5f049bb0
JSDoc + JSCS tweaks - Part 2
2014-07-18 11:16:23 +02:00
asturur
347debb677
Update elements_parser.js
...
slicing one by one, doesn't make the array bigger. so the index value is still effective.
If you slice by 0 the array grows up and so index loose meaning.
2014-07-18 07:19:37 +02:00
Juriy Zaytsev
61853dd275
Merge pull request #1495 from Kienz/issue1494
...
Fix initialization of viewportTransform array
2014-07-17 18:54:27 +02:00
Juriy Zaytsev
2c6cafe34f
Merge pull request #1496 from Kienz/jsdocFixes
...
JSDoc + JSCS tweaks - Part 1
2014-07-17 18:52:54 +02:00
asturur
795d8a7aa5
Update misc.js
...
some more polishing, for me and for toFixed.
2014-07-17 16:38:09 +02:00
asturur
5ca64ad636
Update parser.js
2014-07-17 16:25:59 +02:00
asturur
dfbd1887bf
Update misc.js
...
some more polishing
2014-07-17 16:24:46 +02:00
Stefan Kienzle
b34387d10e
JSDoc + JSCS tweaks - Part 1
2014-07-17 16:18:57 +02:00