Stefan Hayden
850c617bd9
strokeUniform property ( #5473 )
...
* new Object property strokeUniform allows the stroke width to always stay the same width as object scales
* fix for height
* Update src/shapes/object.class.js
Co-Authored-By: stefanhayden <alt255@gmail.com>
2019-02-17 00:20:12 +01:00
Andrea Bogazzi
68a6af40a1
Add toCanvasElement for object, fixes a bug, speedUp cloneAsImage ( #5481 )
...
* a couple of changes
* removed unnecessary branching
2019-01-13 16:04:07 +01:00
Andrea Bogazzi
03b98a0678
fixes a particular case of clipPath problem ( #5477 )
2019-01-13 12:13:03 +01:00
Andrea Bogazzi
1bb1f8eb85
fix svg export of gradients ( #5456 )
...
* fix svg export of gradients
* fixed UTs
* visual tests too
* and the pictures
* fixed test lint
2019-01-06 01:15:16 +01:00
Andrea Bogazzi
576f34ab68
small-changes ( #5454 )
2018-12-30 18:12:41 +01:00
Andrea Bogazzi
f3317569ff
add-clipPath-to-cache-checks ( #5384 )
...
* add-clipPath-to-cache-checks
* added comment to skip canvas
* added a test
* more test
* avoid infinite recursion
* avoid using objects if some render will fire
* avoid rendering at all
2018-11-25 17:24:38 +01:00
Blob
3b314d11cc
Add strokeDashOffset and svg corresponding attribute ( #5398 )
...
* Add strokeDashOffset and svg corresponding attribute
2018-11-23 00:56:00 +01:00
geekduck
f7dc333f37
Fix jsdoc ( #5399 )
...
* fix JSDoc.
* fix typo.
2018-11-23 00:46:36 +01:00
Andrea Bogazzi
cdb6b51385
Fix invisibility of objects with no widht/height but strokewidth ( #5382 )
...
* added test
* fixed ellipse test
* fixed ellipse lint
2018-11-12 01:20:28 +01:00
Andrea Bogazzi
191099cb59
Add shadow option to toDataURL and cloneAsImage ( #5308 )
...
* first test
* less accuracy
2018-10-14 18:15:57 +02:00
Andrea Bogazzi
fdd2d94e77
fix toDataurl and zoom change ( #5278 )
2018-09-29 13:43:31 -04:00
Andrea Bogazzi
513233bf78
Making clipPath absolute positionable ( #5199 )
...
Added visual tests
Added property absolutePositioned and inverse
2018-09-16 01:59:36 +02:00
Andrea Bogazzi
2a476e4277
Clip path parsing ( #4786 )
...
* first pass done
* restarted-clippaths
* some changes to element parser
* shared attribute
* done one piece
* cleaned
* mmm going there
* so far so good
* a very first draft
* removed dist
* sovled conflict
* now solved
* now solved
* some improvements
* toObject and fromObject added
* toObject and fromObject added
* more small changes
* added simple tests
* bumpedup qunit
* a test for svg export
* no ist
* more svg exporpt
* fix lint
* make possible to clip canvas
* improved JSOCS
* no builds
* invalidate cache anyway
* changes
* changes
* changes
* mmm working
2018-08-23 01:06:07 +02:00
Andrea Bogazzi
56fefbdb0d
better jsdocs
2018-08-19 08:40:24 +02:00
Andrea Bogazzi
464708aafc
To data url and zoom ( #5139 )
...
* added a new option
* deleted unused method
* passes
* ok there was an error
* reused util
* ok
* extra console.log
* fixed
2018-08-05 00:56:20 +02:00
Andrea Bogazzi
12a09470ce
updated jsdoc
2018-08-04 11:16:02 +02:00
Andrea Bogazzi
6353b09c5f
Resize filter should include canvas zoom and group zoom ( #5117 )
...
* change in zoom
* added a test
* fixed
* disable gl
* add percentage
* more group things
* more group things
* added unit test
* display percentage
* lint
2018-07-23 15:30:02 +02:00
Durga Madhab
a37e802ed7
Added callback in setPatternFill ( #5101 )
...
* Added callback in setPatternFill
As Pattern constructor taking callback, we can use it.
* doc changed #4555
* jsdoc @link added in setCoords
2018-07-14 14:43:55 +02:00
Andrea Bogazzi
4ad9486553
fix group becoming cachrable ( #5021 )
...
* fix group becoming cacheable
2018-06-04 11:13:39 +02:00
Andrea Bogazzi
bafc28d3fc
Svg import improvements ( #4984 )
...
* test
* svg-import-fixes
* svg-import-fixes
* ok done
* adapted tests to new values
2018-05-29 10:28:02 +02:00
Andrea Bogazzi
13e452bc20
added some jsdoc
2018-05-19 23:58:26 +02:00
Andrea Bogazzi
24a97a3327
fixed doc for excludeFromExport
2018-04-01 18:49:37 +02:00
Andrea Bogazzi
e27296ca35
Moving AMD require on top, after NOT including common JS ( #4797 )
...
* fixed amd
2018-03-11 09:31:23 -04:00
Andrea Bogazzi
1c10b8c1e3
events drag ( #4421 )
...
added drag and drop events
2018-02-24 22:19:58 +01:00
Andrea Bogazzi
dea22aca70
Fixes ( #4674 )
...
* default no retina for dataurl
* make num_fraction_digits variable
* restored aborted changes
* mispelled param
* added test for SVG
* added test for toDataUrl
* how it could even run
* simpler test
* i hope they will pass now
* fed up
* completely cheating
* fallback on dumb test
* test also this
* test also this
* more tests
2018-02-04 22:42:32 +01:00
Andrea Bogazzi
4f446020ba
added a simple test ( #4647 )
2018-01-26 11:12:27 +01:00
Andrea Bogazzi
57c5d5150c
removed extra padding ( #4467 )
2017-11-18 16:59:10 +01:00
Andrea Bogazzi
d65b5dd5a1
removed with dims ( #4453 )
2017-11-12 15:18:28 +01:00
Andrea Bogazzi
61c415be26
Partially solve cache fuzzyness ( #4452 )
...
* made less funzzy
* solved lint
* cleaned a bit
* fixed tests
2017-11-12 14:59:36 +01:00
Andrea Bogazzi
a2f9c9f205
Fix image import from SVG when width/height are larger than element ( #4450 )
...
* fixed
* removed extra function;
* fix import of preserver
* added tests
* fixed test names
2017-11-12 01:30:22 +01:00
Andrea Bogazzi
40f16a9b4e
Memoize transform and use transform for rendering ( #4418 )
...
* done
* done removed dist
* added some test
2017-10-27 09:01:32 +02:00
Andrea Bogazzi
3244f6c0ae
Change the logic for setting dirty flag ( #4417 )
...
* test
* add better set support
* no build dist
2017-10-27 06:11:28 +02:00
Andrea Bogazzi
141f60aea7
Make generic _set aware of real change property ( #4415 )
...
* first change
* added a small test
2017-10-26 11:03:35 +02:00
Asturur
c6787042a9
fix lint
2017-10-25 23:39:19 +02:00
Melvyn Hills
0ddf90c255
Add browserShadowBlurConstant to adjust shadowBlur value ( #4413 )
...
* Expose browserShadowBlurConstant to adjust shadowBlur value (#4402 )
* Add test for fabric.browserShadowBlurConstant
* added test description in case of failure
2017-10-25 23:33:58 +02:00
Andrea Bogazzi
3884824f46
Do not scale cache for transform target ( #4358 )
...
* no scaling cache for the current target
* .
2017-09-29 00:02:43 -04:00
Stefan Hayden
0bb8a131a6
fixes problems with isTargetTransparent trageting. also nulls out cachedCanvas when not being used to make it easier to check if a proper cachedCanvas exists ( #4356 )
2017-09-28 22:28:08 -04:00
Andrea Bogazzi
ad6521affb
Paint order svg for CIRCLE, IMAGE and TEXT ( #4320 )
...
* added were missing
* added for image too
2017-09-18 00:14:08 +02:00
Stefan Hayden
0fc71349a6
Paint order ( #4303 )
...
* makes fabric aware of the paint-order svg2 spec to swap the paint order of stroke and fill
2017-09-17 22:47:35 +02:00
Tristan Fischer
e2f44cc76b
fix object.getObjectOpacity() docs ( #4277 )
2017-09-06 12:38:49 +02:00
Andrea Bogazzi
69d377b992
Output version ( #4251 )
...
* output version in json
* fixed tests
* fixed lint
2017-08-29 22:23:42 +02:00
Andrea Bogazzi
678099ed21
Fix free drawing, fix minScaleLimit for textbox ( #4250 )
...
* fixed free drawing
* better handling of minscale limit
2017-08-25 10:43:24 +02:00
Andrea Bogazzi
6b4d215162
Remove active property from objects ( #4200 )
...
* removed active
* removed active property
* removed active property
2017-08-14 15:12:58 +02:00
Andrea Bogazzi
a06b568968
Improved selection flow ( #4198 )
...
* improved flow
* improved selection flow
* do not transform not selected objects
2017-08-14 13:29:32 +02:00
Andrea Bogazzi
4cccab8f51
Remove fabric.Object.remove ( #4197 )
...
* removed remove method
* removed remove method
2017-08-14 09:44:51 +02:00
Andrea Bogazzi
77632c6e0e
fixed svg import again ( #4196 )
2017-08-14 09:35:19 +02:00
Andrea Bogazzi
1c0c12fe8a
fix-text-pattern ( #4194 )
2017-08-13 23:05:40 +02:00
Asturur
836bf158b9
setAngle => rotate
2017-08-12 13:48:01 +02:00
Andrea Bogazzi
ddb9896455
fix opacity ( #4176 )
2017-08-06 17:56:45 +02:00
Andrea Bogazzi
5a791a8291
fixed origins ( #4170 )
...
* fixed origins
* fixed origins
2017-08-04 11:20:50 +02:00