XhmikosR
33655ff33d
Losslessly compress screenshot.png.
...
Before: 40381 bytes
After: 20734 bytes
2014-02-23 20:16:20 +02:00
XhmikosR
16e6fdafcd
Update json2.js to the latest version.
2014-02-23 20:16:20 +02:00
XhmikosR
d8b1eca014
Trim trailing spaces.
2014-02-23 20:16:20 +02:00
Michael Elsdörfer
8735f99aab
Stop Event.js from messing with global Event objects.
...
Fix #1170 .
2014-02-15 12:52:30 +01:00
Paul Verest
88b127714c
typo be
2013-12-11 17:40:47 +08: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
2b51996242
Add sourcemap argument to build script (uglifyjs and google closure compiler are supported)
...
Update README
Update google closure compiler to support sourceMaps
2013-10-12 14:43:35 +02:00
rykerwilliams
5445f52db3
Remove canvas_wheel_event.mixin.js. Change wrapping to bind.
2013-10-06 16:35:09 -04:00
rykerwilliams
a1935cdcb4
Updated event.js build.
2013-09-23 13:25:33 -04:00
rykerwilliams
88aa0df407
Added new custom version of event.js. Added event listeners for shake, drag and orientation change.
...
Custom version available: https://github.com/rykerwilliams/Event.js
2013-09-23 10:10:40 -04:00
rykerwilliams
9283530837
Add wheel event mixin.
2013-09-21 17:41:06 -04:00
kangax
71f81f5b32
Remove initial clause from Event.js that we added previously (since IE9 complains). Build distribution.
2013-07-18 23:15:41 +02:00
kangax
3645c9ce6e
Apply sencha patch to excanvas ( http://dev.sencha.com/playpen/tm/excanvas-patch/ )
2013-03-31 15:01:29 +02:00
kangax
2cfc62169d
Remove no longer needed lib/fonts
2013-03-11 18:57:59 +01:00
Kienz
870322ee24
Fixes for aligning_guidelines and centering_guidelines
...
aligning_guidelines:
- Bugfix for rotated objects - rotated objects should be aligned correctly
centering_guidelines:
- Fix for objects with different origin (originX or originY != 'center')
- Fix for clear lines
2013-01-22 23:35:22 +01:00
Kienz
33bacb0cd6
Bugfix for canvas.toDataURL() - canvas.clearContext(canvas.contextTop) in after:render clears context if canvas.toDataURL() is called.
...
Observe before:render and clear contextTop.
2013-01-21 22:15:28 +01:00
kangax
c2c1324a37
Remove old yui compressor file
2013-01-21 21:14:57 +01:00
Kienz
b555e56241
Fix for dynamic_origin + Remove lines correctly on object moving
...
Fix if objects have different origins (originX != 'center' and/or originY != 'center')
Lines now removed correctly on object:moving (bug since commit c4bec7045532886a338ef7ae91c80bfd8fb28851)
[BACK_INCOMPAT] for fabric.js versions < 1.0.0
2013-01-21 14:22:10 +01:00
kangax
c14c7a329e
Prevent event.js from erroring out in Node
2013-01-17 19:00:20 +01:00
Jaffer Haider
20a87c6609
Support for pinch gesture to scale and rotate objects using Event.js.
2013-01-08 16:04:38 +05: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
f0b5329157
Doc additions, fixes.
2012-11-23 13:38:26 +01:00
kangax
f8f5e0bae1
Move build_docs.js and jsdoc toolkit into the fabricjs.com repo.
2012-11-23 13:37:40 +01:00
kangax
3ce8507932
Implement fabric.Text.fromElement. Closes #182 .
2012-08-11 18:59:53 +02:00
kangax
54d112e42d
Update json2.js to a newer version.
2012-07-28 17:57:00 +02:00
kangax
884d02881b
Fix SVG export failures when rendering text via native methods.
2012-07-27 00:26:54 +02:00
kangax
af7679cee1
Implement most of the remaining text rendering functionality when using native methods. This includes background, text decoration (underline/strike-through/overline), multiline text support, text alignment (left/center/right) in multiline text, text shadow, line height. SVG export is still partially broken when using native rendering methods.
2012-07-24 11:21:32 +02:00
kangax
9590fe597c
In fabric.Observable, observe is now on, stopObserving — off. observe and stopObserving are deprecated.
2012-07-18 18:25:51 +02:00
kangax
66247a7b1c
Fix text shadow messing up size of bounding box.
...
Fix text shadow appearing under text background.
2012-07-11 01:52:52 +02:00
kangax
5a2eb2e3df
[BACK_INCOMPAT] fabric.Canvas#getContext now returns context of canvas element on which all objects are drawn. fabric.Canvas#getSelectionContext returns context of canvas element on which object selection is drawn.
2012-05-13 18:30:12 +04:00
kangax
8a84affd6c
[BACK_INCOMPAT] Remove "memo" from event objects. e.memo.xxx is now e.xxx.
2012-05-12 13:44:26 +04:00
Tim de Koning
c34bc926ed
Fir fox IE7 and IE8 multiline strings
...
IE7 and IE8 are the only browsers to strip newlines and spaces in the DOM tree. This is an ugly fix to work around this issue and make mulitline strings possible in IE.
2012-01-18 15:36:17 +01:00
Tim de Koning
2fab0b1ed7
Font rendering fix for < IE9
...
Fabric expects text to be rendered as Canvas elements. Cufon however falls back to VML rendering when canvas is not available in the browser. This mod of the Cufon library ALWAYS enabled the canvas rendering engine for Cufon. This way font-rendering is available on IE7 and IE8 when excanvas is available.
2012-01-18 12:00:59 +01:00
kangax
de8684cfda
Fix text shadow rendering in exported SVG.
2012-01-06 19:58:21 -05:00
kangax
c39053456c
Fix fabric.Text#textShadow to actually use specified color.
2012-01-05 22:39:30 -05:00
kangax
c451f32c9f
Fix text alignment in SVG export. Center- and right-aligned text now displays properly. Add more tests to SVG export test suite.
2012-01-04 17:18:42 -05:00
kangax
9814cf12b5
Add support for text background color in SVG representation.
2012-01-04 12:31:37 -05:00
kangax
d870410a7d
First (and almost complete) implementation of fabric.Canvas#toSVG.
2012-01-02 16:14:20 -05:00
kangax
3544410689
Fix bug in canvas initialization in node. Thanks Urs.
2011-12-10 13:26:52 -05:00
kangax
cb7a4bdf86
Remove reference to window in util/misc.js for node compat.
2011-12-09 16:24:37 -05:00
kangax
ebab02dc02
Better docs layout.
2011-12-08 09:44:05 -05:00
kangax
d72fceb14b
Documentation tweaks.
2011-12-08 09:44:05 -05:00
kangax
b8ea6b7cec
[BACK_INCOMPAT] Add support for static canvases — fabric.StaticCanvas. fabric.Canvas#loadImageFromURL -> fabric.util.loadImage. Add fabric.Canvas#centerObject.
2011-11-27 23:57:28 -05:00
kangax
d6ea561d1a
Move font_definitions.js to "site" module.
2011-11-14 15:09:42 -05:00
kangax
ae9025ce5c
Fix image filter initialization in node.
2011-10-29 14:36:09 -04:00
kangax
fe03bf19d5
Fix broken fabric.Text#textDecoration.
2011-10-16 12:53:37 -04:00
kangax
19f7736658
Update documentation and fix JSDoc templates.
2011-09-22 12:40:31 -04:00
kangax
6415c573fe
Intercept error in node requests to avoid process failing on connection refused or other errors.
2011-09-08 15:56:59 -04:00
kangax
3a7d2f0bc3
Make fabric.util.getScript work under Node.js, by using "request + eval" rather than "script element + load event".
2011-09-05 20:52:20 -04:00
kangax
6e9543cb69
Preparing fabric for publishing through npm. Make fabric.createCanvasForNode accept width/height rather than reference to node-canvas, to prevent user from having to instantiate node-canvas instance. Add fabric.Canvas.prototype.createPNGStream which is a simple proxy for node-canvas createPNGStream.
2011-08-16 15:57:07 -04:00