kangax
36d947f9e8
Fix docs
2015-01-14 12:35:00 +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
Andrea Bogazzi
9cfb7337b2
Update line.class.js
...
Add missing spaces ( strange that travis didn't bother me )
2014-10-01 00:55:45 +02:00
Andrea Bogazzi
ebe4bd7286
Update line.class.js
2014-09-30 23:13:34 +02:00
Andrea Bogazzi
80b831f0ed
Update line.class.js
...
Fixes custom width and height for svg export in lines
2014-09-26 10:00:05 +02:00
Andrea Bogazzi
00a442b028
exit from getSvgTransform just for pathGroups.
...
Fix Svg Export for normal canvas group
2014-09-25 11:05:39 +02:00
Andrea Bogazzi
3f75ce7f1b
Update line.class.js
...
Just cosmetic.
2014-08-06 23:48:07 +02:00
Andrea Bogazzi
6367e30dba
Update line.class.js
...
Don't ask why. For me half dimension was more than enough.
2014-08-06 19:20:13 +02:00
Andrea Bogazzi
d40deb6d58
Fixed toSVG for line, changes in rendering logic
2014-08-05 12:49:34 +02:00
kangax
818ab118b3
JSCS changes; Prepare for JSCS ignore support; down to 51 failures
2014-08-03 16:47:27 +02:00
asturur
2495d58523
Update line.class.js
2014-07-18 16:28:29 +02:00
XhmikosR
67e9c8829c
Remove extra commas.
2014-02-23 20:25:23 +02:00
kangax
d2f6a9033e
Add JSCS validation & change bunch of things for conformance. Down to 333 failures from ~1000.
2014-02-16 16:36:14 -05:00
Maciej Filip Szkodziński
7d72d0500f
Removed Line._getCenterToCenter helpers
...
Pre-rendering context translation for lines in path-groups uses the
pre-existing getCenterPoint.
Removed tests for removed code.
2014-02-05 17:33:20 +01:00
Maciej Filip Szkodziński
df764728e0
Fix group mocks in Line tests
...
Added missing semicolons in tests.
Refactored Line centerToCenterGetter to improve readability.
2014-02-05 17:07:45 +01:00
Maciej Filip Szkodziński
6b1e144c44
Line coordinates are correct
...
fabric.Line._setWidthHeight was assigning left and top as if both
origins were 'center'.
It now uses private helper methods to calculate the distances from
left and top edges of canvas to the line origins.
The data for existing Line.toObject test is updated with origin-relative
coordinates.
Rendering of line inside a path-group was assuming a 'center' origin
for both coordinates.
Context translation done before rendering for lines inside path-groups
now uses private helper methods to calculate distances from the center
of path-group to center of line.
2014-02-05 15:42:52 +01:00
kangax
dbbfb992cb
Add all properties onto prototype (not to invalidate hidden classes)
2014-01-23 10:49:23 -05:00
kangax
f1aef7ed1a
Version 1.4.3
2014-01-18 12:01:19 -05:00
kangax
bc8acac692
Only call _renderStroke in line and circle when this.stroke exists
2014-01-17 11:57:54 -05:00
kangax
20e0712688
Avoid set in fabric.Line#_setWidthHeight
2014-01-17 11:57:31 -05:00
kangax
13fcf15b8b
Make sure compiler can inline
2014-01-17 11:51:16 -05:00
kangax
e3b0f666fb
More precise path-group check. Closes #964
2013-11-14 19:22:45 +01:00
kangax
476da71e92
Doc changes
2013-10-25 09:05:39 +02:00
Kienz
be86429b32
Add reviver function to fabric.Canvas.toSVG.
...
Reviver function accepts one parameter (svg string representation of object instance) and should return svg string.
Add qunit test.
2013-09-29 09:22:44 +02:00
kangax
41ab3a0064
Doc additions
2013-09-26 14:12:02 +02:00
Kienz
92bdebfde7
Doc fixes, Update README (1800+ unit tests)
2013-08-08 18:31:26 +02:00
kangax
7a46482328
Add shadow toSVG support. Version 1.2.7
2013-07-25 19:39:21 +02:00
Nathan Muir
f97d593c84
Fixed issue with fabric.Line when browser doesn't support 'setLineDash' (firefox & IE 10). Example at http://jsfiddle.net/taRvU/1/
2013-07-11 12:16:34 +10:00
kangax
b53209437f
Move shape classes (circle, line, rect, path, etc.) to /shapes dir
2013-05-30 21:53:49 +02:00