Andrea Bogazzi
143c0758a7
add excludeFromExport property ( #2976 )
...
* add excludeFromExport property
* added test for SVG and JSON
2016-05-17 12:56:34 +02:00
Andrea Bogazzi
a0ba49ea5d
Use reviver also for background and overlay image in svg export ( #2975 )
...
* Use reviver also for background and overlay image
2016-05-17 02:56:25 +02:00
Andrea Bogazzi
940db388a8
Use sendToBack, bringToFront, bringForward, sendBackwards for multiple selections ( #2908 )
...
Use sendToBack, bringToFront, bringForward, sendBackwards for activeGroups.
Visually there is no effect if preserveObjectStacking is set to false.
2016-04-28 11:21:48 +02:00
Andrea Bogazzi
928009dce9
remove forward slashes in docs urls
2016-04-27 16:00:13 +02:00
Andrea Bogazzi
188fed21f5
Do not clear the contextTop if we are in drawingMode. closes #2723 ( #2895 )
...
* do not clear contexttop if we are drawing
2016-04-15 23:04:04 +02:00
Andrea Bogazzi
5aa0ad1b8c
remove warning of deprecated functions about imageSmoothingEnabled
2016-04-11 15:46:51 +02:00
Andrea Bogazzi
2df1c1d37f
Canvas dispose unwrap the lowercanvas element back to its original place
...
Added unwrap logic to canvas.dispose()
Added tests.
2016-04-09 16:02:42 +02:00
Andrea Bogazzi
381f959f54
move retina logic check in a function
2016-02-24 08:44:21 +01:00
Juriy Zaytsev
c79e872ea2
Merge pull request #2712 from asturur/transformMatrix
...
Restore green check on tests
2016-02-07 17:37:44 -05:00
Andrea Bogazzi
dfc574c099
Fix tests removing extra context.Restore();
2016-02-07 18:23:14 +01:00
Andrea Bogazzi
42da3a5689
pass image/img to constructor
2016-02-04 15:10:03 +01:00
Juriy Zaytsev
8ffa6a199d
Merge pull request #2708 from asturur/dispos
...
Add active instance cleaning to dispose.
2015-12-27 11:34:22 -05:00
Andrea Bogazzi
ecc72f8b63
Update static_canvas.class.js
2015-12-26 13:08:32 +01:00
Andrea Bogazzi
ae6b00f33d
Update static_canvas.class.js
2015-12-24 17:19:40 +01:00
Juriy Zaytsev
5d0524a6bd
Build dist, fix lint errors
2015-12-24 10:57:55 -05:00
Andrea Bogazzi
041e2747ab
Update static_canvas.class.js
2015-11-23 16:49:25 +01:00
Andrea Bogazzi
6aa09fc567
fix grammar typo
2015-11-22 14:34:00 +01:00
Andrea Bogazzi
842af5d993
change svg header to use viewbox
2015-11-22 14:32:11 +01:00
Juriy Zaytsev
540ecc6a39
Merge pull request #2632 from asturur/fixcontrols
...
Fixcontrols
2015-11-17 19:24:28 -08:00
Andrea Bogazzi
cd9ae6e9a3
Update static_canvas.class.js
2015-11-17 21:28:50 +01:00
Andrea Bogazzi
6317d95254
Update static_canvas.class.js
2015-11-13 00:22:45 +01:00
Andrea Bogazzi
41d247d700
Update static_canvas.class.js
2015-10-24 16:16:34 +02:00
Andrea Bogazzi
e1b165b983
switch to save and restore methods
2015-10-24 16:04:53 +02:00
Andrea Bogazzi
753e67bce2
Reset viewport transform at the end of render all
2015-10-16 10:19:03 +02:00
Andrea Bogazzi
07234dfdf6
Update canvas.class.js
2015-10-13 00:29:26 +02:00
Andrea Bogazzi
69d0071536
move toDataURL to lower canvas, if it has to work on staticCanvas.
2015-09-20 00:44:31 +02:00
Andrea Bogazzi
e612d4c495
Update static_canvas.class.js
2015-08-10 00:48:28 +02:00
Andrea Bogazzi
0edd147b0e
Update group.class.js
2015-08-08 14:30:24 +02:00
Andrea Bogazzi
1e7616009d
fix imageSmoothing glitches
2015-07-14 16:51:43 +02:00
Juriy Zaytsev
fb22168f48
Add support for hidpi rendering on retina screens
...
Closes #316
2015-07-10 11:13:51 -04:00
Juriy Zaytsev
3586cb26f7
Merge pull request #2141 from asturur/fixThis.Canvas
...
Make .canvas property always present
2015-04-22 13:17:38 +02:00
Juriy Zaytsev
54211dd349
Merge pull request #2130 from asturur/ActiveGroupSorter
...
Fix sortedObjects
2015-04-22 13:05:53 +02:00
Andrea Bogazzi
5ab3b331c7
Update static_canvas.class.js
2015-04-22 05:50:11 +02:00
Andrea Bogazzi
906ee8684e
Update static_canvas.class.js
2015-04-21 09:09:16 +02:00
Andrea Bogazzi
344f4c9f41
Update static_canvas.class.js
2015-04-21 08:56:38 +02:00
sapics
fe65503e11
fix only coding style
2015-04-21 09:53:19 +09:00
Andrea Bogazzi
09d13c6e7c
Fix sortedObjects
2015-04-20 12:48:37 +02:00
Incuuu
fa5bba0df7
Fix problem with empty options
2015-04-07 15:00:11 +04:00
Incuuu
84adc7b4d3
Fix bug with options of image instance in setBackgroundImage
2015-04-06 18:54:51 +04:00
Jim Rodovich
5d4fa49cd3
Fix hit detection on the active group after zooming.
2015-03-31 11:51:04 -05:00
KJ Tsanaktsidis
7453776856
Call set() when unwinding the group transform
...
set() is called when the group transform is realized by the group
on the object, so set needs to be called when the inverse operation
is done too so that things watching these properties see both the
action and the undo.
2015-03-25 11:23:25 +11:00
KJ Tsanaktsidis
a18acd43f5
YET MORE code style errors...
2015-02-27 15:21:00 +11:00
KJ Tsanaktsidis
cf92898071
Fix code style errors
2015-02-27 15:12:47 +11:00
KJ Tsanaktsidis
f16bf53763
Don't clone objects while serialising selection groups
...
Clone can be async for some object types, so we can't use it during
the serialisation process. Instead, apply the group transforms directly
on the object being serialised, and then undo it after serialising.
2015-02-27 15:04:26 +11:00
KJ Tsanaktsidis
00e6e71e4d
Fixed code style error
2015-02-26 14:03:44 +11:00
KJ Tsanaktsidis
ea8bc67ce8
Don't destroy the selection group when doing toJSON
...
Instead, simulate what would happen to the children of the selection
group if the group were to be released. This is non-destructive on
the state of the canvas from the API user's perspective.
2015-02-26 13:57:58 +11:00
KJ Tsanaktsidis
492a7693c5
Don't destroy the selection group when doing toSVG
...
toSVG now mirrors the behaviour of toJSON and does not destroy
the active selection group when serialising. Instead, the effect
of the group is simulated on a clone of the object and this is
what gets serialised.
2015-02-26 13:57:58 +11:00
Stefan Kienzle
c49690d32d
Use crossOrigin property in fabric.util.loadImage for background and overlay images
...
Closes #1752
2014-10-16 10:49:12 +02:00
Juriy Zaytsev
e524c13521
Merge pull request #1638 from joerozek/stacking
...
Support for preserving object stacking. Closes #1636 .
2014-09-25 13:32:03 +02:00
kangax
32e8463479
Add requirement for space before function’s {
2014-09-22 20:40:39 +02:00