Commit graph

2070 commits

Author SHA1 Message Date
Andrea Bogazzi
1f41cb3f13 Update text.class.js 2015-12-09 23:05:55 +01:00
Andrea Bogazzi
db0b026eef Update itext.class.js 2015-12-09 09:42:23 +01:00
Andrea Bogazzi
185d8e2d31 Update text.class.js 2015-12-09 09:41:37 +01:00
Andrea Bogazzi
61daf81470 Update text.class.js 2015-12-08 19:53:44 +01:00
Andrea Bogazzi
41a3aa8a4c Update text.class.js 2015-12-08 11:52:07 +01:00
Juriy Zaytsev
35668b529b Merge pull request #2645 from rodovich/rotate-anchor
Fix importing paths with `rotate` transforms with anchor coordinates.
2015-12-03 10:37:02 -08:00
Juriy Zaytsev
c415792eca Merge pull request #2642 from asturur/svg-viewport
Svg viewport transform fixes
2015-12-02 15:18:31 -08:00
Juriy Zaytsev
6aeabcb10c Merge pull request #2656 from asturur/groupopacity
Group opacity not delegated
2015-11-30 14:33:12 -05:00
Andrea Bogazzi
1a0bceb079 check for object editability 2015-11-29 10:02:32 +01:00
Andrea Bogazzi
37fb2c1e2d Update group.class.js 2015-11-29 09:31:18 +01:00
Jim Rodovich
17c4962e19 Fix importing paths with rotate transforms with anchor coordinates. 2015-11-23 13:25:04 -06: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
a25459ceab Merge pull request #2634 from asturur/convolutefilte
General code clean up for convolute filter
2015-11-18 08:14:02 -08:00
Andrea Bogazzi
fe7462cf46 General code clean up
we do not need to create a temporary canvas to call its createImageData, when normal canvas we are filtering can provide same method.
Removed 2 unused variables ( w and sw, h and sh where copies of each other and used in read only)
2015-11-18 14:23:52 +01:00
Juriy Zaytsev
540ecc6a39 Merge pull request #2632 from asturur/fixcontrols
Fixcontrols
2015-11-17 19:24:28 -08:00
Andrea Bogazzi
cc8ed6bac8 Update canvas.class.js 2015-11-17 21:29:39 +01:00
Andrea Bogazzi
cd9ae6e9a3 Update static_canvas.class.js 2015-11-17 21:28:50 +01:00
Juriy Zaytsev
ae1ee007a3 Merge pull request #2568 from asturur/fix-shadow
Update shadow.class.js
2015-11-13 11:04:51 +01:00
Juriy Zaytsev
7cb4f17833 Merge pull request #2625 from asturur/multitouch
Fix multi touch scaling speed
2015-11-13 11:03:28 +01:00
Juriy Zaytsev
8f80fe632a Merge pull request #2623 from asturur/retina-on-scale
reinit retina scaling on canvas element dimensions change
2015-11-13 09:33:06 +01:00
Juriy Zaytsev
ad12e534a8 Merge pull request #2624 from asturur/image-border-0
change default strokewidth to 0  for images
2015-11-13 09:32:48 +01:00
Andrea Bogazzi
d16ef6b124 Update canvas_gestures.mixin.js
we need to use transformed dimensions to include effect of skew. but we need to divide by current scale and use just the initial scale plus the scaling factor of gesture.
2015-11-13 01:44:07 +01:00
Andrea Bogazzi
d96c94dc4f change default strokewidth to 0 2015-11-13 00:27:39 +01:00
Andrea Bogazzi
6317d95254 Update static_canvas.class.js 2015-11-13 00:22:45 +01:00
Andrea Bogazzi
931ef7d58f Add missing parameter to _ScaleObjectBy 2015-11-02 11:09:42 +01:00
Juriy Zaytsev
86bb0c773d Merge pull request #2580 from asturur/retina-scaling
fix bug with retina scaling
2015-10-24 17:46:37 +02:00
Juriy Zaytsev
faf18bfba1 Merge pull request #2549 from asturur/fix-group-transform
[WIP] Handle group transformation with skew and rotate + scale
2015-10-24 17:46:16 +02: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
45150e39c1 Update group.class.js 2015-10-24 15:41:37 +02:00
Andrea Bogazzi
701a62053d make group transform support general transforms 2015-10-24 15:38:46 +02:00
Andrea Bogazzi
0836408035 remove duplicate logic 2015-10-21 12:58:59 +02:00
Andrea Bogazzi
026388d93c Add missin coma 2015-10-21 11:38:20 +02:00
Andrea Bogazzi
d4bae8230d Update shadow.class.js
add affectStroke to toObject
2015-10-21 11:10:34 +02:00
Andrea Bogazzi
753e67bce2 Reset viewport transform at the end of render all 2015-10-16 10:19:03 +02:00
asturur
ff79ab1aca first changes to group transform handling 2015-10-14 08:48:03 +02:00
Andrea Bogazzi
07234dfdf6 Update canvas.class.js 2015-10-13 00:29:26 +02:00
DanieleSassoli
f3268cf855 bugfix, sometimes the mask was stretched. 2015-10-08 15:17:24 +02:00
DanieleSassoli
e2a56bb254 Fixed bug that caused image to be corrupted when a mask was applyed only if the image was bigger the mask. 2015-10-07 16:52:45 +02:00
Juriy Zaytsev
b4a2bf694e Merge pull request #2502 from asturur/fix-ite
Fix itext onInput with selected text
2015-10-05 10:22:02 -04:00
Juriy Zaytsev
9549631cfa Merge pull request #2503 from asturur/obj.selectab
Fix object selectable with shift click and itext mouse cursor click.
2015-09-29 09:57:44 -04:00
Juriy Zaytsev
33cdaa1289 Merge pull request #2491 from asturur/fix-object.toDataURL
Update canvas_dataurl_exporter.mixin.js
2015-09-27 12:02:53 -04:00
Andrea Bogazzi
6426a02758 Update canvas_grouping.mixin.js 2015-09-27 17:50:57 +02:00
Andrea Bogazzi
26cf009c98 Update canvas.class.js 2015-09-27 17:44:25 +02:00
Andrea Bogazzi
b020b243e9 removed some duplicate code 2015-09-27 17:00:16 +02:00
Andrea Bogazzi
49b876a704 Update textbox_behavior.mixin.js 2015-09-27 16:58:15 +02:00
Andrea Bogazzi
c943d369a2 Update itext_key_behavior.mixin.js
Remove cancelOnInput logic, a normal e.preventDefault + stopPropagation is enough.
Take in account already selected text when deciding how much text we are inserting during input event
2015-09-27 16:37:32 +02:00
Andrea Bogazzi
520e8e6179 Update canvas_dataurl_exporter.mixin.js 2015-09-23 00:23:21 +02:00