Justin Parker
6702fe6dc6
Use generic setter for sourcePath ( #4093 )
2017-07-15 13:37:36 +02:00
Andrea Bogazzi
7a88afb2d3
Fix some caching in group issues related to deep checks ( #4032 )
...
* backport
* better fix
2017-06-24 23:10:55 +02:00
Stefan Hayden
a1ccf7155b
path is the only object that inherits from Object but does not call super. it should also call super for consistancey and to allow overriding of the object initialize prototype ( #4005 )
2017-06-14 18:31:42 +02:00
Andrea Bogazzi
145bd3b03f
Force async ( #3996 )
...
* removed forced async
* tests
* fixed lint
2017-06-11 21:36:51 +02:00
Andrea Bogazzi
69f37b0a4f
restored path restore from string
2017-06-11 18:15:29 +02:00
Andrea Bogazzi
cd18c1501f
removed extra creations ( #3985 )
2017-06-07 14:19:46 +02:00
Andrea Bogazzi
7517b951ab
Remove PathGroups for Groups. ( #3969 )
...
* removed pathGroups
2017-06-01 11:02:32 +02:00
Andrea Bogazzi
ff2909ebf8
fixed cache for first draw ( #3870 )
...
* fixed cache for first draw
* fixed tests
2017-04-23 13:44:22 +02:00
by12
a7ff845165
Update path.class.js ( #3774 )
2017-03-14 21:42:07 +01:00
Andrea Bogazzi
f85bdc75c6
Update path.class.js ( #3713 )
2017-02-19 17:29:03 -05:00
Andrea Bogazzi
5cd1111195
fix reload from json ( #3691 )
...
* fix reload from json
* fix just on path
2017-02-14 00:40:02 -05:00
Andrea Bogazzi
edb90be547
WIP Patternload ( #3598 )
...
* make pattern load async
* made all object loadable asyncronously ( filters )
2016-12-30 22:41:16 +01:00
Andrea Bogazzi
3c0fe81b77
be more strict on when not to re render ( #3594 )
...
* add more check to first return false
* fix ;
* fix ; in tests
* fix test
2016-12-28 13:22:23 +01:00
Andrea Bogazzi
81609a85fb
Fixestocachepolygon ( #3490 )
...
* fixes polygon and other subclasses
* fixed polygon fill
2016-12-03 22:53:51 +01:00
Andrea Bogazzi
9422fd39be
Objectcaching ( #3317 )
2016-11-13 21:00:10 +01:00
Andrea Bogazzi
c5f60743f5
To object origin ( #3416 )
...
* deleted double default cleaning
* rework object export
* fixed tests
* fix fabric2 api change.
* removed unused var
2016-11-12 23:54:42 +01:00
Andrea Bogazzi
876c9ca91f
Uniform clone and fromObject behaviour ( #3212 )
2016-09-10 16:09:17 +02: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
Andrea Bogazzi
9980c83fb9
move the pathCommands out of render
...
makes easier to override, extend the class.
2016-07-22 11:10:30 +02:00
Andrea Bogazzi
eb9b7f45b9
Add ID to svg export ( #2993 )
2016-05-21 15:07:04 +02:00
Andrea Bogazzi
f88711a526
Docs links, remove last forward slash ( #2917 )
2016-04-28 23:33:40 +02:00
Andrea Bogazzi
d36945f6e2
Update path.class.js
2015-07-15 16:50:25 +02:00
sapics
d922771915
Add @param comment
2015-04-16 18:47:04 +09:00
sapics
64529b4562
fix of @asturur suggestion
2015-04-16 18:31:52 +09:00
sapics
05316fc0f9
fix path initialize function for option left=0 or top=0
2015-04-16 17:11:06 +09:00
Andrea Bogazzi
d593d209aa
Update path.class.js
2015-04-08 08:20:49 +02:00
Andrea Bogazzi
a7271aaf9f
Update path.class.js
2015-04-04 13:50:39 +02:00
kangax
db8aa87dae
Extract method from fabric.Path#initialize
2015-02-07 13:47:08 +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
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
Andrea Bogazzi
cf3bd70479
Update path.class.js
2014-11-05 19:56:12 +01:00
Andrea Bogazzi
f8e6ae9461
Update parser.js
...
Allow first example of stroke svg import to work properly
2014-09-26 09:52:33 +02:00
Andrea Bogazzi
71aea4db4d
Update path.class.js
2014-09-18 14:51:46 +02:00
Andrea Bogazzi
4e737abcde
Update path.class.js
...
Fixes == with ===
2014-09-13 14:05:12 +02:00
Andrea Bogazzi
28784dc9b3
Update path.class.js
...
Like any other shape in fabric, when exported to svg, the shape has to be translated around origin.
This additional translation brings it there.
Fixes svg export of paths OUTSIDE of path-gropus. Inside was already ok.
2014-09-13 13:14:58 +02:00
kangax
a3d40878d6
Update JSCS to 1.6, fix errors, hook up travis
2014-08-30 13:18:43 +04:00
Andrea Bogazzi
eef2e21c07
changed toSvg method
2014-08-05 12:51:20 +02:00
kangax
818ab118b3
JSCS changes; Prepare for JSCS ignore support; down to 51 failures
2014-08-03 16:47:27 +02:00
asturur
f610ffe9de
Update path.class.js
2014-07-18 16:27:29 +02:00
Stefan Kienzle
b34387d10e
JSDoc + JSCS tweaks - Part 1
2014-07-17 16:18:57 +02:00
Tom French
a4129c31e8
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
dist/fabric.min.js
dist/fabric.min.js.gz
dist/fabric.require.js
src/canvas.class.js
2014-07-03 16:02:43 +01:00
kangax
715fda8e94
Revert "Update path.class.js"
...
This reverts commit 77dd88569d .
2014-06-21 19:23:44 +02:00
asturur
77dd88569d
Update path.class.js
...
Modified path positioning, fixes svg 170, debian logo, change some errors in different errors.
2014-06-21 17:03:54 +02:00
asturur
efa6579450
Update path.class.js
2014-06-19 23:47:21 +02:00
asturur
fd658ce29b
remove path positioning fixes
...
in different branch.
2014-06-19 23:46:06 +02:00