Commit graph

978 commits

Author SHA1 Message Date
kangax
c0c222f672 Refactor _handleGroupLogic 2013-10-25 10:38:32 +02:00
kangax
58f30be963 Add iText 2013-10-25 10:28:30 +02:00
kangax
c2edbf003a Refactor _setupCurrentTransform 2013-10-25 10:20:55 +02:00
kangax
ae5973676a Support includeDefaultValues in shadow serialization 2013-10-25 09:05:39 +02:00
kangax
e34fb6a256 More specific documentation 2013-10-25 09:05:39 +02:00
kangax
f6a6ea68b7 Avoid width=0 for text objects 2013-10-25 09:05:39 +02:00
kangax
476da71e92 Doc changes 2013-10-25 09:05:39 +02:00
Stefan Kienzle
9c6565491b Don't fire 'selection:created' if only one object exists 2013-10-23 09:18:07 +02:00
Kienz
0f9612b69f Fix object selection with shift key - Closes issue #912 2013-10-22 20:33:20 +02:00
Jason Gauci
6bbc1798f1 Do not name the requirejs module (see http://requirejs.org/docs/api.html#modulename ) 2013-10-20 21:10:19 -07:00
Kienz
3b0b9b7d80 Doc additions. Add examples to fabric.Image.filters 2013-10-13 18:46:51 +02:00
Juriy Zaytsev
b92e9575e0 Merge pull request #866 from rykerwilliams/master
Update Events / Gestures modules with event.js 1.1.3
2013-10-12 14:13:02 -07:00
Kienz
5adf772a64 Invisible objects are no longer selectable with "selection-mode" (canvas.selection = true) - Closes issue #891 2013-10-09 20:57:41 +02:00
rykerwilliams
5bf42c099f Add custom object properties to clone function. 2013-10-06 17:02:36 -04:00
rykerwilliams
d40509d688 Remove diff tool change. 2013-10-06 16:41:27 -04:00
rykerwilliams
5445f52db3 Remove canvas_wheel_event.mixin.js. Change wrapping to bind. 2013-10-06 16:35:09 -04:00
rykerwilliams
8fafe15649 Merge branch 'master' of https://github.com/kangax/fabric.js 2013-10-05 21:02:45 -04:00
kangax
5608e17b1a Add fabric.Polyline example and an inline link to constructor 2013-10-05 12:50:29 +02:00
kangax
eef047a5b3 Add check for skipTextAlign in fabric.Text 2013-10-05 12:50:29 +02:00
kangax
a0c508c1d5 Fix selectable=false objects getting incorrectly selected. Closes #880 2013-10-01 16:52:11 +02:00
kangax
82d9a15fee Fix left aligning in Node. Version 1.3.7 2013-09-30 18:37:45 +02:00
kangax
f93a0e4313 Fix text rendering offsets on Node by simplifying things 2013-09-30 16:15:00 +02:00
kangax
6cd767c479 Fix offsets of underline/line-through/overline text decoration and line sharpness 2013-09-30 13:38:12 +02:00
kangax
4b65f9f682 Fix removal of default values in fabric.Text#toObject 2013-09-30 13:38:12 +02:00
Juriy Zaytsev
bfcd95b7a4 Merge pull request #878 from Kienz/patch-1
Add reviver function to `fabric.Canvas.toSVG` - Closes #690
2013-09-29 04:04:37 -07:00
Kienz
922e7ab159 Include sourcePath in fabric.PathGroup only if its defined
Doc additions
2013-09-29 09:56:29 +02:00
Kienz
61835602f9 Remove toGrayscale from fabric.PathGroup and fabric.Collection 2013-09-29 09:49:41 +02:00
Kienz
e94eb59012 Add @example for toSVG with reviver function 2013-09-29 09:28:27 +02:00
Kienz
be86429b32 Add reviver function to fabric.Canvas.toSVG.
Reviver function accepts one parameter (svg string representation of object instance) and should return svg string.
Add qunit test.
2013-09-29 09:22:44 +02:00
kangax
f5775eb2f4 Add rectangles optimization to Spray brush 2013-09-28 23:47:53 +02:00
kangax
4b78a2d819 Fix includeDefaultValues to account for stateProperties of specific objects 2013-09-28 23:47:53 +02:00
kangax
ec120452c5 Add x/y in fabric.Rect#stateProperties. Make toObject remove them when includeDefaultValues=false. 2013-09-28 23:47:53 +02:00
kangax
f2ad6e5be6 [BACK_INCOMPAT] Move "backgroundColor" from fabric.Text to fabric.Object (only works with text for now). Remove fabric.Object#overlayFill. Remove fabric.Canvas.toGrayscale, fabric.Object#toGrayscale, and fabric.Object#overlayFill. Version 1.3.5 2013-09-28 23:47:53 +02:00
Kienz
fa2f18a77a Add more docs.
Examples, tutorial and demo links.
2013-09-28 12:31:32 +02:00
kangax
bbb73dcde3 Add more docs 2013-09-27 22:22:28 +02:00
kangax
485b3569d3 Add docs 2013-09-27 22:22:28 +02:00
kangax
bd2857e49a Add link for mask filter 2013-09-27 22:22:28 +02:00
Juriy Zaytsev
3345156793 Merge pull request #873 from Kienz/docAddtions
Doc additions
2013-09-26 12:12:28 -07:00
Kienz
7792b1274b Doc additions
Add example and jsfiddle link to `canvas.loadFromJSON`
2013-09-26 21:04:10 +02:00
Kienz
9de6c9a473 Doc additions
Add examples and links to jsfiddle to `fabric.Object.setGradient`, `fabric.Object.setPatternFill`, `fabric.Object.setShadow` and `fabric.Canvas.toDataURL
2013-09-26 20:17:53 +02:00
kangax
db8f0515f1 Add docs for object accessors. Build distribution. 2013-09-26 19:55:17 +02:00
Kienz
30ffd894d6 Add missing doc additions of previous commit from kangax 2013-09-26 18:43:13 +02:00
Kienz
5f9edecd18 [BACK_INCOMPAT] Split fabric.Object.centerTransform and fabric.Canvas.centerTransform into the properties centeredScaling and centeredRotation
centeredScaling: Define if object scaling should be centered (true). Default = false.
centeredRotation: Define if object rotates around center (true) or around origin (originX/originY) point (false).  Default = false.
Pressed altKey negates the behavior.
2013-09-26 18:19:17 +02:00
kangax
365b2dc0a9 Doc additions 2013-09-26 17:50:28 +02:00
Juriy Zaytsev
aeaa5fcb00 Merge pull request #857 from briefbanane/master
Allow toggling of flipX/Y to flip the whole group
2013-09-26 06:04:11 -07:00
kangax
41ab3a0064 Doc additions 2013-09-26 14:12:02 +02:00
Fabian Ebner
44756d4a57 Handle addWithUpdate removeWithUpdate and destroy differently 2013-09-25 22:42:13 +02:00
Fabian Ebner
61fff6b8c6 Clean up code and fix rotation issue 2013-09-25 21:50:09 +02:00
kangax
812717b207 Add fabric.Object#evented. fabric.Object#selectable now fires events again, but can not be selected. However, evented=false does not receive events at all. 2013-09-25 19:05:57 +02:00
Fabian Ebner
5576759eb4 Preserve rotation after flipping when group isn't selected anymore 2013-09-25 15:34:30 +02:00