jrking4
f5ee274052
Update use of getBoundingRect in Guides Example ( #4631 )
...
* Update use of getBoundingRect in Guides Example
Aligning Guidelines Example broken. Update to use getBoundingRect() function
* Ensure getBoundingRect is called only once
2018-01-18 15:40:00 +01:00
Andrea Bogazzi
214a169767
Removed es5 shim function and support for ie < 10 ( #3722 )
...
* removed es5 part
* removed json shim
* removed node 5
* removed node 5
2017-02-19 19:47:39 -05:00
Andrea Bogazzi
7a987faef2
changes ( #3717 )
2017-02-18 23:47:32 -05:00
Andrea Bogazzi
08f60adbea
switch to eslint ( #3229 )
...
* switch to eslint 2.x
* fix src
* fix tests
2016-09-10 15:14:23 +02:00
Taqi Mustafa
3bf8f46562
Fixing guides in zoom
...
We were not calculating the guides updated position for pan and zoom. It's fixed now.
2016-02-15 17:42:36 +05:00
Ulrich Sossou
7701763001
Fix aligning guidelines on zoom
2015-02-20 12:52:06 +01:00
Juriy Zaytsev
86fd0febca
Merge pull request #1809 from Colmea/master
...
Aligning guidelines: remove line after render
2015-01-02 19:14:46 +01:00
kangax
4c2990dd8e
Remove compat code
2014-12-22 21:42:18 +01:00
kangax
251cab8a91
Update Event.js to 1.1.5. Closes #1888
2014-12-17 11:10:38 +01:00
Arthur Schwaiger
2535b4805e
Aligning guidelines: remove line after render
...
avoid superimposition of multiple lines
2014-11-04 14:28:13 +01:00
Ulrich Sossou
28dd7ec582
Use rounded values to compare position of object to center of the canvas because object x and y after zoom may not be integers
2014-07-30 08:52:25 +01:00
Ulrich Sossou
f45cff11c5
Fix guidelines drawing when canvas zoomed
2014-07-30 08:50:18 +01:00
Ulrich Sossou
5fc0b07577
Fix object position when aligned to guidelines
2014-07-30 08:46:11 +01:00
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