Commit graph

809 commits

Author SHA1 Message Date
kangax
a7a6c38384 Fix incorrect parsing of fontSize which made text not appear when loaded from SVG. Closes #331. 2012-12-23 15:18:46 +01:00
kangax
a37fcc92d4 Fix incorrect rendering of text + path SVG. Closes #355. 2012-12-23 15:17:45 +01:00
kangax
4ae8b9d725 Simplify object straightening logic. Thanks @woutercommandeur. Closes #362. 2012-12-22 20:20:54 +01:00
kangax
299273d7bd [BACK_INCOMPAT] fabric.Object#cornersize -> fabric.Object.cornerSize 2012-12-22 16:37:43 +01:00
kangax
882d7085d8 Fix fabric.Object#cloneAsImage on node. Closes #336. Version 0.9.34 2012-12-20 19:49:51 +01:00
kangax
f0d2235053 Fix group loading in dateless json. Closes #322 2012-12-20 16:23:31 +01:00
Juriy Zaytsev
0326af39ca Merge pull request #358 from raiden-dev/master
[BACK_INCOMPAT] Change the way relative animations are specified.
2012-12-19 12:53:58 -08:00
Andrey Kravtsov
216b3234aa Changed approach for relative animations.
Issue #356
2012-12-19 19:36:42 +04:00
kangax
8c14478340 Add support for "text-align: justify". SVG representation is not yet working. 2012-12-18 18:01:30 +01:00
kangax
71dd5a9ec0 Pass original event to all fabric custom events (that are triggered via mouse/touch) 2012-12-18 11:52:18 +01:00
kangax
203ea6b51f Doc fixes 2012-12-18 11:46:51 +01:00
kangax
c8172be31d Final doc additions. Every public method is now documented! 2012-12-16 20:44:26 +01:00
kangax
b5b901e99e Fix isMoving not set to false sometimes. Closes #350. Version 0.9.31. 2012-12-15 17:29:40 +01:00
kangax
7eae38db57 Doc additions. 2012-12-15 17:29:40 +01:00
Juriy Zaytsev
0b84bc2f47 Merge pull request #353 from Kienz/strokeTextFix
strokeText bugfix for Firefox < 4
2012-12-14 09:50:39 -08:00
Kienz
aefa280bb3 strokeText bugfix for Firefox < 4 2012-12-14 18:31:01 +01:00
Juriy Zaytsev
564e37eb5f Merge pull request #348 from Kienz/freedrawingFix
Fix another freedrawing bug in Firefox 3.6.1 - 3.6.24
2012-12-13 12:44:50 -08:00
Kienz
39c2b48ade Another freedrawing bug in Firefox 3.6.1 - 3.6.24
In Firefox 3.6.28 it works correct.
canvas 2d context arc() requires optional parameter anticlockwise - bugzilla issue https://bugzilla.mozilla.org/show_bug.cgi?id=617319.
2012-12-13 19:08:34 +01:00
Juriy Zaytsev
b8c573530a Merge pull request #346 from Kienz/freedrawingFix
Freedraw bugfix for Firefox 3.6.x
2012-12-13 06:47:54 -08:00
kangax
93a657fda5 Build distribution. 2012-12-13 15:46:06 +01:00
kangax
eb35434a97 Fix x/y not being set on rectangle sometimes. Closes #344. 2012-12-13 15:46:06 +01:00
kangax
3416d8a090 Documentation additions. 2012-12-13 15:46:06 +01:00
Juriy Zaytsev
531267fcce Update README.md 2012-12-13 14:08:58 +01:00
Juriy Zaytsev
ecf4664111 Update README.md 2012-12-13 14:02:37 +01:00
Kienz
d8831feb0e Freedraw bugfix for Firefox 3.6.x
The pointer flies away on starting freedrawing - line is drawing.
Here you can see a screenshot:
<img src="https://s3-eu-west-1.amazonaws.com/kienzle.geschaeft/projects/sketch/fabric_freedraw_problem_firefox_3.6.x.png"/>

jsFiddle:
http://jsfiddle.net/r2ZE7/95/
2012-12-13 11:57:16 +01:00
Juriy Zaytsev
d3768fef7a Merge pull request #341 from Kienz/freedrawingFix
Fix freedrawing for Firefox
2012-12-10 07:12:11 -08:00
kangax
35ba6c6bf5 Final fix for fabric.util.loadImage 2012-12-10 15:59:44 +01:00
Kienz
3fa2a01faa Fix freedrawing for Firefox:
TypeError: Not enough arguments to CanvasRenderingContext2D.arc.
[Bei diesem Fehler anhalten]

this.canvas.contextTop.arc(originLeft, originTop, 3);
2012-12-10 15:59:26 +01:00
kangax
5d1cfce96a Try to fix fabric.util.loadImage test once again. 2012-12-10 15:52:14 +01:00
kangax
7a5cfe46ac Build distribution. Version 0.9.30. 2012-12-10 15:45:33 +01:00
kangax
26d735146f Fix fabric.util.loadImage test. 2012-12-10 15:44:30 +01:00
Juriy Zaytsev
fab0de8b5b Merge pull request #340 from shiloa/master
Change toSVG in image.class.js to properly close <image> tag.
2012-12-10 06:37:11 -08:00
Juriy Zaytsev
5e97ef5849 Merge pull request #339 from Kienz/touchFix
Fix for pointer offset on touch devices.
2012-12-10 06:36:00 -08:00
Kienz
4b56e3f8ae Fix for touch devices - only works if page is has no scrolling. I've tested it no iPad with iOS 6.01. 2012-12-10 13:44:26 +01:00
shilo
4fba531e6f close <image> tag XML style to allow access to native SVG document 2012-12-10 14:40:26 +02:00
kangax
b84b22f484 Build distribution. 2012-12-09 10:15:25 +01:00
Juriy Zaytsev
728843ea2c Merge pull request #337 from Kienz/json-fixes
loadFromJSON now handles json as String or Object
2012-12-08 07:48:34 -08:00
Kienz
332dcd81c2 Add unit tests for loadFromJSON with json object instead of json string 2012-12-08 13:38:19 +01:00
Kienz
1599ab3484 loadFromJSON now handles json as String or Object - same behavior like loadFromDatalessJSON. 2012-12-08 10:40:29 +01:00
kangax
2b33b7f570 Locking properties (lockMovementX, lockMovementY, lockRotation, etc.) are now respected in groups. Closes #152. 2012-12-07 15:39:47 +01:00
Juriy Zaytsev
e276743176 Merge pull request #335 from TimNZ/master
Allow `fabric.util.loadImage` to support data url in Node.js.
2012-12-06 10:49:29 -08:00
kangax
352dd44b3c Implement smooth free drawing. Free drawing is now a separate module. Thanks @coulix! 2012-12-06 19:47:34 +01:00
kangax
832e754d9e Prevent FF<4 from throwing errors on getComputedStyle. 2012-12-04 14:14:08 +01:00
kangax
18502f77b5 Update README. 2012-12-04 12:39:55 +01:00
kangax
7a1de3c57b Fix fabric.util.loadImage test. 2012-12-04 12:39:46 +01:00
kangax
801fd3fb4d Fix text test. 2012-12-04 12:03:16 +01:00
TimNZ
a119d39e85 Set img._src on loadImage for data url 2012-12-04 17:28:01 +13:00
TimNZ
e9fe12a6d0 Allow loadImage to support data:image url 2012-12-04 17:21:08 +13:00
kangax
b330c9d715 Build distribution. Fix unit tests. Version 0.9.27. 2012-12-03 20:23:45 +01:00
Juriy Zaytsev
41997f0ce4 Merge pull request #334 from Kienz/textBackgroundColor
Cufon renderer for fabric.Text - textBackgroundColor and backgroundColor
2012-12-03 11:17:06 -08:00