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
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
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
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
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
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
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
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
Kienz
f85e7a0335
Bugfixes for new parameter propertiesToInclude
...
Doc additions, fixes.
fabric.Group.toObject() now passes object propertiesToInclude also to objects inside the group
fabric.Image.clone() has now parameter propertiesToInclude
fabric.Object.clone() has now parameter propertiesToInclude
2012-12-01 13:57:27 +01:00
coulix
a0cf70994d
No need for free drawing to extend fabric Objecti + freedrawing module presence check before instantiation
2012-12-01 00:34:33 +01:00
kangax
2329ef59fe
Add support for specifying additional properties to return in toObject, toJSON. Fix #272 .
2012-11-30 23:46:09 +01:00
coulix
8f8322fb46
Merge master
2012-11-30 18:57:49 +01:00
coulix
16422bed01
Refactoring
2012-11-30 18:42:02 +01:00
kangax
f75934ec7c
Fix error in fabric.StaticCanvas#toDataURLWithMultiplier. Closes #327 .
2012-11-29 13:53:13 +01:00
Steve Pemberton
7594a19e7b
ParseDimensions changes
2012-11-29 00:50:03 +00:00
Steve Pemberton
4d40b7b080
Path fixes
2012-11-29 00:46:16 +00:00
kangax
63c5c02560
Add support for dashed selection. Thanks @coulix! Version 0.9.24.
2012-11-28 13:04:39 +01:00
coulix
61db93d5ec
Smooth live free drawing on contextTop canvas
2012-11-28 11:55:30 +01:00
Greg Tappero
d0952172a3
Dashed selection borders
...
Wip dashed selection nearly there
fix dashed selection merge
2012-11-28 11:44:29 +01:00
kangax
d693130115
Add canvas reference to active group. Version 0.9.23.
2012-11-27 16:25:07 +01:00
kangax
315a2c9bf3
Move callSuper out of fabric.Object.prototype and create it dynamically in createClass.
2012-11-23 13:39:50 +01:00
kangax
f0b5329157
Doc additions, fixes.
2012-11-23 13:38:26 +01:00
kangax
2e1d02148b
Get rid of _theta and update "angle" property dynamically. Version 0.9.22. Fix #283 .
2012-11-15 14:20:45 +01:00
kangax
01982a446c
Do not use uniqueID in IE as it's not always unique. Fix #311 .
2012-11-15 12:49:10 +01:00
kangax
e3700484ea
Fix minor issues found by JSHint.
2012-11-13 18:06:53 +01:00
kangax
a83b97a4e4
Add Convolute and Pixelate filters. Fix bug with consecutive "m"/"M" commands and "s" command. Version 0.9.21.
2012-11-03 16:14:05 +01:00
kangax
cdeac75435
Do not show rotating corner points when objects inside active group.
2012-11-03 16:11:00 +01:00
kangax
b763330289
Make active group respect clipping/overlay.
2012-11-03 16:11:00 +01:00
Steve Pemberton
3b3c439b00
Added code to resize cache canvas.
...
_setDimensions will now correctly alter the cache canvas size when the
other canvases are resized. This ensures per pixel hit testing will
still function.
2012-10-30 23:34:52 +00:00
kangax
dbe5ad2149
Adjust positioning of text objects created via fromElement. Fix #303 . Version 0.9.20.
2012-10-31 00:19:13 +01:00
kangax
3541f4a45d
More robust drawControls.
2012-10-30 18:43:55 +01:00
kangax
002cdb4eb5
Add contribution note. Fix #302 .
2012-10-29 22:32:20 +01:00
kangax
a816fb9740
Fix object controls detection when controlsAboveOverlay=true. Fix #256 .
2012-10-28 13:56:07 +01:00
kangax
aaee929373
Make overlay image part of canvas object/json representation. Some renderAll cleanup. Fix #265 .
2012-10-28 12:21:44 +01:00
kangax
48443c193b
Fix sendBackwards/bringForward methods to work with larger objects covering smaller ones. Fix #241 .
2012-10-28 11:21:47 +01:00
kangax
5998dfc1a5
toSVG now displays flipped objects correctly. Fix #297 . Version 0.9.18.
2012-10-26 15:26:44 +02:00
kangax
17fe1a2929
Allow to change number precision in sag transform values. Thanks Will McNeilly.
2012-10-24 22:05:19 +02:00
Steve Pemberton
e8a696c4b1
fix for retreiving scrolled & Fixed Descendants, Mouse Position
2012-10-24 19:56:48 +01:00
kangax
b9da2c4da2
Use "alphabetic" as textBaseline value. This normalizes vertical text position across browsers. Thanks Eric Lesch.
2012-10-23 22:58:44 +02:00
kangax
df22b0f9b1
Default "fontWeight" is now corresponding to "normal" — 400, instead of 100 (which makes some fonts appear light).
2012-10-23 21:12:48 +02:00