kangax
6ed3dda6f5
Merge master
2012-12-15 17:16:39 +01:00
kangax
4bcc0bd80f
Add uniScaleTransform and centerTransform parameters to canvas, which control how objects are transformed
2012-12-15 17:13:40 +01:00
kangax
fcfe5052f8
Use toFixed to cutoff some of the values. Closes #352 .
2012-12-15 17:09:37 +01:00
kangax
f6cbb259f3
Doc additions.
2012-12-15 17:05:23 +01: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
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
a1a54fea0b
Merge master
2012-12-09 10:17:12 +01:00
kangax
b84b22f484
Build distribution.
2012-12-09 10:15:25 +01:00
kangax
b749e87e30
Add documentation for a method.
2012-12-08 16:49:55 +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
a6a7b72dcd
Padding-related fixes and some canvas.class refactoring.
2012-12-07 19:19:04 +01:00
kangax
913a4970bc
Merge master
2012-12-07 15:43:57 +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
0c1fd43fc1
First stab at dynamic origin of transformation (based on the excellent work of https://github.com/stormbreakerbg ).
2012-12-06 19:12:54 +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
Kienz
8e45dd8046
[BACK_INCOMPAT] Cufon rendered fabric.Text now has two properties: backgroundColor (whole bounding-box) and textBackgroundColor (textlines, same behavior as "old" fabric.Text#backgroundColor)
2012-12-03 19:38:35 +01:00
kangax
57d7861fc4
Fix gradient fill on fabric.Text objects. Fix #278 .
2012-12-03 08:57:44 +01:00
Juriy Zaytsev
f0fb459b23
Merge pull request #333 from Kienz/textBackgroundColor
...
[BACK_INCOMPAT] fabric.Text now has two properties: backgroundColor (whole bounding-box) and textBackgroundColor (textlines, same behavior as "old" fabric.Text#backgroundColor)
2012-12-02 08:28:22 -08:00
Kienz
dfe2762394
Prevent drawing textBackground for empty textlines
2012-12-02 14:08:13 +01:00
Kienz
1d73cc6e9a
fabric.Text backgroundColor vs. textBackgroundColor
2012-12-02 13:58:34 +01:00
kangax
c105212c9c
Doc fixes. Version 0.9.26
2012-12-02 11:53:38 +01:00
Juriy Zaytsev
03604806e3
Merge pull request #332 from sjpemberton09/pathPosition
...
Path position fixes when left/top given at creation time.
2012-12-02 02:22:13 -08:00
Steve Pemberton
c169daa4a4
build
2012-12-01 20:57:49 +00:00
Steve Pemberton
a24e0e79fc
Fix to allow path to be immediately positioned on creation
2012-12-01 20:57:21 +00:00
kangax
1633bce401
Add most of the unit tests for fabric.util methods. Fix #35 .
2012-12-01 17:52:03 +01:00
Juriy Zaytsev
7e99e0c32a
Merge pull request #329 from Kienz/customObjectProperties
...
Bugfixes for `propertiesToInclude` in `fabric.Group.toObject()`, and `clone()`, as well as doc additions.
2012-12-01 08:39:20 -08:00