Andrea Bogazzi
affb15d7ec
Update path_group.class.js
2015-04-06 12:24:32 +02:00
Andrea Bogazzi
48e83f4a7a
Update parser.js
2015-04-06 01:36:00 +02:00
Juriy Zaytsev
889efa1c4a
Merge pull request #1999 from StileEducation/PR_toJSON_selection
...
Make toJSON/toSVG behave sensibly with an active selection group
2015-03-25 13:02:22 +01:00
Jeff Parsons
a0a4d77272
Track IText instances per-canvas, not globally.
...
Previously instances of the IText shape were added to a globally-shared
array when they were created. There are two problems with this approach:
1) Interactions with one canvas affect others. I would never expect
text in one canvas to exit edit mode just because I interacted with
some otherwise-unrelated canvas.
2) Every IText instance leaks. There is no mechanism to clean up references
to IText instances in the global array, so every such instance will
hang around in memory forever, regardless of whether it is removed from
the canvas or if the canvas itself is removed.
Discovered while profiling memory usage in Chrome.
2015-03-24 14:14:43 +11:00
Andrea Bogazzi
84bd8bbda0
Update itext.class.js
2015-03-21 12:17:34 +01:00
Juriy Zaytsev
63180f24a9
Merge pull request #2024 from asturur/Fix-iText-position-bug-when-style-is-empty
...
Textwidth for jusitfied align
2015-03-08 19:14:06 +01:00
Andrea Bogazzi
51c2cd7e74
Update text.class.js
2015-03-08 12:32:33 +01:00
Juriy Zaytsev
a13cca92d9
Merge pull request #2020 from asturur/Fix-iText-position-bug-when-style-is-empty
...
Fix gradient for IText. Closes #2013
2015-03-07 17:48:47 +01:00
Andrea Bogazzi
9ee71616bf
Update itext.class.js
2015-03-07 15:57:04 +01:00
kangax
1dff79c2ad
Make fabric.Image#fromUrl callback optional
2015-03-05 14:20:55 +01:00
Juriy Zaytsev
2877af6310
Merge pull request #2006 from asturur/fix-pathgroup-toSvg
...
Fix path group toSvg method.
2015-03-01 23:37:17 +01:00
Andrea Bogazzi
08a1c6b418
Fix path group toSvg method.
...
now respect current originX and originY
2015-03-01 23:27:17 +01:00
Andrea Bogazzi
b89bc01847
Fix misplacement of some iText
2015-03-01 19:05:50 +01: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
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
Andrea Bogazzi
320c7cac6d
Update text.class.js
...
Fix a bug caused by lazy copy paste , replace.
2015-02-24 10:29:03 +01:00
Juriy Zaytsev
c8df694460
Merge pull request #1960 from asturur/fix-shadow-by-zoom-level
...
Shadow Size fix
2015-02-12 20:35:33 +01:00
Andrea Bogazzi
55d6f300f6
Update object.class.js
2015-02-12 20:27:20 +01:00
kangax
8a48598c68
Check for presence of filter. Closes #1967
2015-02-11 01:30:13 +01:00
kangax
db8aa87dae
Extract method from fabric.Path#initialize
2015-02-07 13:47:08 +01:00
Juriy Zaytsev
55bc74bc4c
Merge pull request #1958 from asturur/Fix-svg-tiny-test-suite
...
Fixes svg rendering rules
2015-02-05 10:53:41 +01:00
Andrea Bogazzi
f72b55283d
Update object.class.js
2015-02-04 21:37:32 +01:00
Andrea Bogazzi
a6f240285c
Update object.class.js
...
Fix the shadow and canvas zoom problem.
2015-02-04 17:29:59 +01:00
Andrea Bogazzi
69880b5104
Update polyline.class.js
2015-02-03 14:28:37 +01:00
Andrea Bogazzi
1fb7a1b914
Update polygon.class.js
2015-02-03 14:28:23 +01:00
asturur
6a6b74aae1
Fixes svg rendering rules
2015-02-03 14:24:11 +01:00
Juriy Zaytsev
95406e0b6b
Merge pull request #1882 from asturur/Clean-lines-code
...
Make cleaner setCoords and geometry code
2015-02-03 00:51:28 +01:00
Andrea Bogazzi
a7022c1bef
Clean of setCoords and other corner related methods
2015-02-03 00:16:59 +01:00
Juriy Zaytsev
3b54fd031d
Merge pull request #1951 from asturur/transformMatrix-for-pathgroup
...
Fixes for path-group transformMatrix in svg export
2015-01-28 13:41:15 +01:00
Andrea Bogazzi
0523352dfa
Fix pathGroup TransformMatrix
...
solves missing transformMatrix
2015-01-28 12:41:09 +01:00
Juriy Zaytsev
5903c23634
Merge pull request #1872 from asturur/itext-rendering
...
text rendering changes
2015-01-27 16:10:09 +01:00
Andrea Bogazzi
0e09961c64
Update to text, rendering and optimization
2015-01-26 02:49:37 +01:00
Juriy Zaytsev
49d68723cb
Merge pull request #1935 from asturur/shoadow2
...
Missing space was breaking path single shape export.
2015-01-20 01:51:41 +01:00
Andrea Bogazzi
79d9618352
Fix single path toSVG export.
2015-01-20 01:49:16 +01:00
kangax
36d947f9e8
Fix docs
2015-01-14 12:35:00 +01:00
kangax
df888e47cc
Mention read-only nature of “type”
2015-01-13 12:53:25 +01:00
Jim Rodovich
c71b1378df
Make corresponding fixes for relative curve bounding box calculations.
2015-01-08 09:46:10 -06:00
Jim Rodovich
e83816446c
Fix else style.
2015-01-07 18:34:56 -06:00
Jim Rodovich
cf344c2ba7
Fix reflecting relative quadratic curves after absolute quadratic curves.
2015-01-07 17:36:43 -06:00
Jim Rodovich
aee62cb047
Don't let cubic or distant-past curves infect reflected quadratic curves.
2015-01-07 17:34:30 -06:00
Jim Rodovich
c96c6b27f7
Don't let quadratic curves infect reflected cubic curves.
2015-01-07 17:34:30 -06:00
Shaw
0a52d59239
toDataURL via StaticCanvas
...
Fix for `toDataURL` not working without interaction module (issue #1891 )
2014-12-12 13:10:59 -06:00
kangax
77434e6086
Add docs on originX/originY and setCoords
2014-12-07 12:56:57 +01:00
Juriy Zaytsev
c814bd9727
Merge pull request #1868 from asturur/group-init
...
Use object's set and initializa methods in group
2014-11-30 19:19:54 +01:00
Andrea Bogazzi
4314d30370
Update group.class.js
2014-11-30 18:38:43 +01:00
Andrea Bogazzi
14fdf0c653
Update image.class.js
...
error in final commit.
2014-11-29 11:28:51 +01:00
Juriy Zaytsev
454c332398
Merge pull request #1834 from asturur/image-resize
...
Image resize filters
2014-11-27 16:57:38 +01:00
Andrea Bogazzi
057d8e5bd9
Add resize filter functionality
2014-11-27 14:51:06 +01:00
Juriy Zaytsev
f125941e21
Merge pull request #1825 from asturur/Line-tests
...
Line accuracy issue in pathgroup with high zoom level
2014-11-22 14:26:01 +01:00
Andrea Bogazzi
f4385b2de9
Fix line accuray issue, remove some duplicate code, do not force width = 1 on 0. Fix object render method to render 0-dimensions lines
...
Check how this version could behave in general rendering.
2014-11-20 22:34:47 +01:00