KJ Tsanaktsidis
00e6e71e4d
Fixed code style error
2015-02-26 14:03:44 +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
KJ Tsanaktsidis
492a7693c5
Don't destroy the selection group when doing toSVG
...
toSVG now mirrors the behaviour of toJSON and does not destroy
the active selection group when serialising. Instead, the effect
of the group is simulated on a clone of the object and this is
what gets serialised.
2015-02-26 13:57:58 +11:00
Andrea Bogazzi
69653b1085
Revert "Add forcedfocus on enterEditing"
2015-02-25 17:57:20 +01:00
Juriy Zaytsev
1e5bd1e678
Merge pull request #1989 from StileEducation/PR_cursor_timer
...
Fixed race condition in the iText cursor flash animation
2015-02-25 14:21:32 +01:00
Juriy Zaytsev
bf40c717a8
Merge pull request #1988 from StileEducation/PR_stroke_dash_array
...
Fix base throwing error when strokeDashArray unitialized
2015-02-24 12:46:59 +01: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
KJ Tsanaktsidis
b0e2caf88f
Fixed style errors from linter
2015-02-24 15:09:45 +11:00
KJ Tsanaktsidis
7ea4e6c1cc
Fixed race condition in the iText cursor flas animation
...
The animation that flashes the iText cursor can race its own
cancellation, meaning that you can have two _tick()'s and two
_tickComplete() animations at the same time. On iOS in particular,
most likely due to the lower frequency of timeouts, this can trap
the cursor in a state where its opacity is always <0.1 and is
essentially invisible.
2015-02-24 14:55:58 +11:00
KJ Tsanaktsidis
ef81b23d85
Fix base throwing error when strokeDashArray unitialized
...
Other places in the codebase guard the call to ctx.setLineDash,
so this should happen here too.
2015-02-24 14:34:47 +11: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
220256c267
Extract regex out of method
2015-02-07 14:14:32 +01:00
kangax
db8aa87dae
Extract method from fabric.Path#initialize
2015-02-07 13:47:08 +01:00
Juriy Zaytsev
3b19175a70
Merge pull request #1961 from asturur/fix-EnterEdit
...
Add forcedfocus on enterEditing
2015-02-05 17:08:16 +01:00
Andrea Bogazzi
f2fa816f49
Update itext_behavior.mixin.js
2015-02-05 16:44:27 +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
Andrea Bogazzi
2f6021faea
Fix Travis
2015-01-20 16:30:23 +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
Justin Early
39e5f1210a
updating condition
...
Forgot to bring condition along
2015-01-19 13:39:44 -08:00
Justin Early
079248f47d
Support HTTPS with different ports not just 443
...
We would like to make this change to support HTTPS running on different ports other than 443 since user may have 443 used for something else on their machine.
Thanks,
Justin
2015-01-19 13:18:27 -08:00
Juriy Zaytsev
64515eb3e9
Merge pull request #1931 from asturur/shadow
...
Fix Shadow svg output
2015-01-18 17:29:35 +01:00
asturur
45ba30bc13
shadow changes
2015-01-18 16:54:35 +01:00
Juriy Zaytsev
a0e13b36b7
Merge pull request #1914 from TomKaltz/master
...
Allow the use of lineDashArray with the free drawing tool.
2015-01-15 23:24:54 +01:00
Thomas Kaltz III
3f9fc4c745
rename to strokeDashArray
2015-01-15 13:37:28 -08:00
Thomas Kaltz III
092c81272e
Rename to strokeDashArray and default to null
2015-01-15 13:36:26 -08: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
Thomas R Kaltz III
a7f233c8f3
Allow the use of lineDashArray with the free drawing tool.
2014-12-30 01:20:53 -05:00
kangax
251cab8a91
Update Event.js to 1.1.5. Closes #1888
2014-12-17 11:10:38 +01: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
e780b0a958
Make console.log check more robust; fixes IE8
2014-12-07 13:08:41 +01: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
Andrea Bogazzi
1bc4d02569
Update object_geometry.mixin.js
2014-11-28 12:20:35 +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
d177f7612a
Merge pull request #1854 from asturur/fix-text-jump
...
Fix text jump to top of page
2014-11-27 12:32:09 +01:00
Fin Chen
d13ae118e1
Update requirejs.js
2014-11-26 11:20:04 +08:00
Andrea Bogazzi
b716a56e2c
Update style for hidden textbox. Fix page jump
2014-11-25 15:54:37 +01:00
Juriy Zaytsev
9dac555205
Merge pull request #1773 from asturur/fix-itext-multilin
...
Fix for issue #1264 , export of removed/reinsertd newline on itext
2014-11-24 12:54:57 +01:00
Juriy Zaytsev
e6cfd0d52a
Merge pull request #1835 from noslouch/drawingmode-mouseevents
...
InDrawingMode Mouse Events
2014-11-24 12:46:40 +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
Juriy Zaytsev
6816fadd87
Merge pull request #1846 from asturur/fix-jsdoc
...
fix jsdoc of point
2014-11-22 14:24:41 +01:00
Andrea Bogazzi
8302b7032b
Update point.class.js
...
fix jsDoc
2014-11-22 14:20:52 +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
Brian Whitton
31a2a9c8bf
InDrawingMode Mouse Events
...
This adds event triggers for the InDrawingMode set of mouse event handlers.
I needed to add a mousemove event handler that fired without turning off
free draw, and imagined that others could use this functionality as
well.
Event strings are formatted using the typical non-namespaced DOM format, i.e. without
colons.
2014-11-13 23:22:44 -05:00
kangax
1d8d998ed5
Fire selection:changed event when changing iText selection with keys. Closes #1165
2014-11-08 17:04:04 +01:00
kangax
5a3b5657c5
Check for canvas presence before accessing multiplier
2014-11-07 12:06:24 +01:00
Juriy Zaytsev
112d96be72
Merge pull request #1813 from PosterMyWall/Issue1297PullRequest
...
Fixed outdated multi-touch gestures code. Added support for longpress.
2014-11-07 12:05:50 +01:00
Jaffer Haider
53a2d88225
fixed Travis styling failures
2014-11-07 09:36:41 +05:00
Jaffer Haider
408c1a713a
fixed Travis styling failures
2014-11-07 09:24:15 +05:00
Ibrahim Muhammad
d3224bd5d3
Fix documentation typo
2014-11-06 16:53:41 -08:00
Jaffer Haider
30a2a918d7
Fixed outdated multi-touch gestures code. Added support for longpress.
2014-11-06 08:49:07 +05:00
Juriy Zaytsev
587122112e
Merge pull request #1812 from asturur/Free-drawing-position
...
Free drawing position for paths #1780
2014-11-05 21:25:58 +01:00
Andrea Bogazzi
36905d317f
Update pencil_brush.class.js
2014-11-05 19:56:57 +01:00
Andrea Bogazzi
cf3bd70479
Update path.class.js
2014-11-05 19:56:12 +01:00
Juriy Zaytsev
efbb3e40b3
Merge pull request #1770 from asturur/fix-text-toSVG
...
Fix text top position in svg export
2014-11-05 18:53:38 +01:00
Juriy Zaytsev
1d7cfefba1
Merge pull request #1796 from asturur/Shadow-scaling
...
Support Shadow scaling for CanvasZoom and ScaleFactor
2014-10-31 13:05:32 +01:00
Juriy Zaytsev
3251048327
Merge pull request #1691 from vamo89/setCoordsBug
...
Fix setCoords for negative width and/or height
2014-10-30 15:22:58 +01:00
Andrea Bogazzi
ed00d1c5fb
Update text.js
2014-10-29 15:25:08 +01:00
Juriy Zaytsev
8f0b9055b1
Merge pull request #1788 from asturur/Some-text-goodies
...
Some text goodies
2014-10-29 11:41:39 +01:00
Andrea Bogazzi
552c6a833c
Update text.js
2014-10-28 17:12:10 +01:00
Andrea Bogazzi
7725227d44
Update text.class.js
...
fix text top position in svg export
2014-10-26 22:51:26 +01:00
Juriy Zaytsev
00b8aaaab4
Merge pull request #1785 from asturur/fix-filter-box-for-shadows
...
Fix filter box dimensions for shadows svg export
2014-10-26 22:47:59 +01:00
Andrea Bogazzi
b9f37586b3
Update text.js
2014-10-26 22:42:55 +01:00
Andrea Bogazzi
e3f479ceb9
Update pattern.class.js
...
Added hack to support repeat and offset to svg export.
2014-10-26 18:49:00 +01:00
Andrea Bogazzi
07b367c2c6
Update itext_behavior.mixin.js
...
Removed short circuit, fix linebreak remove / reinsert problem.
2014-10-26 15:41:05 +01:00
Andrea Bogazzi
cac97b0a9b
Update text.js
2014-10-22 00:46:53 +02:00
Juriy Zaytsev
51fcd6cc52
Merge pull request #1768 from Kienz/setSrcImage
...
Add `fabric.Image.setSrc`
2014-10-21 15:11:21 +02:00
Stefan Kienzle
362cda0c0d
Fixed spelling
2014-10-21 15:02:41 +02:00
Stefan Kienzle
8216ae19f4
Add fabric.Image.setSrc
2014-10-21 14:48:41 +02:00
Juriy Zaytsev
bed84b7e0b
Merge pull request #1765 from asturur/fix-for-group-position
...
Fix position of group for originx/y different from center.
2014-10-21 12:32:00 +02:00
Juriy Zaytsev
98a1eb496d
Merge pull request #1644 from ChrisBuergi/scaling-strokewidth-fix
...
Scaling strokewidth fix
2014-10-21 12:26:17 +02:00
Juriy Zaytsev
327324be2c
Merge pull request #1759 from asturur/fix-symbol-render
...
Fix symbol render
2014-10-21 11:44:20 +02:00
Andrea Bogazzi
035cf52f79
Update group.class.js
2014-10-20 17:55:09 +02:00
Andrea Bogazzi
0d2bac7907
Update canvas_grouping.mixin.js
...
Removed forced originX/Y from dynamically created groups
2014-10-20 17:31:20 +02:00
Andrea Bogazzi
64531a3905
Update group.class.js
2014-10-20 16:52:07 +02:00
Stefan Kienzle
30e248bf18
Fix opacity for fabric.Text and fabric.IText
2014-10-20 15:49:29 +02:00
Andrea Bogazzi
2fefe13613
Update group.class.js
...
added managing of originX/Y to group.
2014-10-20 15:38:05 +02:00
Andrea Bogazzi
c25a152bf9
Update parser.js
2014-10-20 00:51:50 +02:00
Juriy Zaytsev
d1ba16f177
Merge pull request #1720 from asturur/Image-aspec
...
preserve Aspect Ratio for images support
2014-10-16 18:04:31 +02:00
Stefan Kienzle
c49690d32d
Use crossOrigin property in fabric.util.loadImage for background and overlay images
...
Closes #1752
2014-10-16 10:49:12 +02:00
Juriy Zaytsev
6070030a96
Merge pull request #1742 from asturur/Fix-free-drawing-mode
...
Fix for free drwaing mode ( pencil ). Closes #1725
2014-10-12 19:36:15 +02:00
Andrea Bogazzi
30876c8c3a
Update text.class.js
...
Added fix for stroke shadow as in object class in normal renderFill method.
2014-10-12 18:50:26 +02:00
Andrea Bogazzi
3257d9a2d9
Update pencil_brush.class.js
...
Remover UtilMin e UitlMax
2014-10-12 18:18:22 +02:00
Andrea Bogazzi
d48f0833f1
Update pencil_brush.class.js
...
Simplified path creation process.
This removed calculation are handled by path class anyway.
2014-10-12 18:06:20 +02:00
Andrea Bogazzi
49f449ee4f
Update image.class.js
2014-10-11 21:56:38 +02:00
Nazar Mokrynskyi
faec8dc0c8
Fix for IE
2014-10-11 17:39:53 +02:00
Nazar Mokrynskyi
9f6c4d6947
Fix for usage with Polymer Platform
...
As well as inside of Web Components, and generally code is more correct than previous.
Also, this is a fix for https://github.com/kangax/fabric.js/issues/1712
2014-10-11 13:41:08 +02:00
Stefan Kienzle
679d44d86c
Merge pull request #1715 from asturur/flippyng-Y-by-scaling-X-and-viceversa
...
Flippyng y by scaling x and viceversa
2014-10-07 15:16:27 +02:00
Juriy Zaytsev
c4df8b4689
Merge pull request #1714 from asturur/fix-lines
...
Fix for line toObject method.
2014-10-06 00:27:17 +02:00
Andrea Bogazzi
30eaf11872
Update parser.js
2014-10-03 08:36:30 +02:00
Andrea Bogazzi
795bb0e70f
Update group.class.js
2014-10-01 09:52:37 +02: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
77616eddba
Update ellipse.js
2014-09-30 23:10:20 +02:00
Juriy Zaytsev
75921959e6
Merge pull request #1701 from asturur/fix-lines
...
Fix export of lines with custom width and height
2014-09-29 17:49:35 +02:00
Stefan Kienzle
b58d9a0edb
Rename ellipse getRY to getRy
2014-09-29 13:54:19 +02:00
Juriy Zaytsev
7f3f43c94b
Merge pull request #1699 from asturur/Ellips-rx-ry
...
Update ellipse.class.js
2014-09-29 08:41:37 +02:00
Andrea Bogazzi
d0de45e11a
Update ellipse.class.js
...
Mirrored from circle the way it updates width and height following rx and ry of ellipse.
2014-09-29 00:05:04 +02:00
Andrea Bogazzi
b2e2767053
Update getCssRule to exit on empty styles tag.
...
Test unit added.
2014-09-27 20:05:39 +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
f8e6ae9461
Update parser.js
...
Allow first example of stroke svg import to work properly
2014-09-26 09:52:33 +02:00
Juriy Zaytsev
e524c13521
Merge pull request #1638 from joerozek/stacking
...
Support for preserving object stacking. Closes #1636 .
2014-09-25 13:32:03 +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
Sergi Meseguer
116eb88c43
fixing whitespaces
2014-09-23 12:15:09 +02:00
Sergi Meseguer
4d283d87f0
getPointer bounds for IE8, fixes #1550 #1349 #1693
...
includes change from @asturur to improve readability
2014-09-23 12:08:10 +02:00
Juriy Zaytsev
ec1db65110
Merge pull request #1694 from asturur/FillRule-misunderstanding
...
Fill rule misunderstanding
2014-09-23 11:32:06 +02:00
Andrea Bogazzi
af1138a686
Divided FillRule from globalCompositeOperation
2014-09-23 08:53:56 +02:00
kangax
32e8463479
Add requirement for space before function’s {
2014-09-22 20:40:39 +02:00
kangax
0c41880e97
Add maximumLineLength restriction of 120 chars and space after comma
2014-09-22 20:40:39 +02:00
Victor Oliveira
4a51211df9
Fix setCoords for negative width and/or height
...
Change-Id: I8ddb8ad49325e593bff15396f76623351e2c5de4
2014-09-22 11:12:22 -03:00
Andrea Bogazzi
bdde7151a2
Update canvas.class.js
...
fix for ie8 missing width and height in bounds
2014-09-21 23:41:07 +02:00
Andrea Bogazzi
673d8584d9
Update object.class.js
2014-09-21 20:54:21 +02:00
Andrea Bogazzi
eef80ebaf2
Update parser.js
2014-09-21 01:16:25 +02:00
Andrea Bogazzi
a70321f9a8
Update elements_parser.js
2014-09-21 01:15:39 +02:00
kangax
066eb54d30
Increase maxstatements, few style fixes
2014-09-19 13:12:12 +02:00
Juriy Zaytsev
e9f310c2ce
Merge pull request #1680 from asturur/Fix-Path-BoundingBox
...
Fix Path bounding box, improve rendering logic
2014-09-19 12:36:58 +02:00
Andrea Bogazzi
f930e2ba65
Update arc.js
...
Fixed again code style
2014-09-19 00:22:07 +02:00
Andrea Bogazzi
b35f5ace64
Update arc.js
2014-09-19 00:17:04 +02:00
William P. Riley-Land
af0aad23b7
Fix issue with document fragments.
2014-09-18 15:42:32 -05:00
Juriy Zaytsev
4fa24bc0b6
Merge pull request #1672 from asturur/opacity-fix
...
Fix opacity for groups and nested groups
2014-09-18 20:25:38 +02:00
Andrea Bogazzi
cfbfaf7042
Update arc.js
2014-09-18 14:52:34 +02:00
Andrea Bogazzi
71aea4db4d
Update path.class.js
2014-09-18 14:51:46 +02:00
Andrea Bogazzi
d0368e8c27
Update circle.class.js
...
Code styles error fix
2014-09-18 01:43:39 +02:00
Andrea Bogazzi
675965da4f
Update circle.class.js
...
fixed typo.
2014-09-18 01:39:15 +02:00
Andrea Bogazzi
18c7203335
Update circle.class.js
...
Add option to circle for start and end angle, to draw an ARC.
in radians, not in degree to avoid writing a setter and getter that does the conversion.
Internally is better radians i think.
2014-09-18 01:23:52 +02:00
Andrea Bogazzi
f6f359e6dd
Update object.class.js
...
Fix opacity for groups.
Before it was working just in simple situation, now it should be ok both in path-group and in normal groups and nested groups.
2014-09-17 10:36:59 +02:00
Juriy Zaytsev
ad94d21541
Merge pull request #1660 from asturur/Fix-paths-toSVG
...
Update path.class.js
2014-09-14 12:29:15 +04:00
Juriy Zaytsev
1ebe46be41
Merge pull request #1664 from asturur/Polygon-and-Polylines-code-reduction
...
Polygon and polylines code reduction
2014-09-14 12:13:49 +04:00
Andrea Bogazzi
a4610822b5
Update object.class.js
...
Fix code style error.
2014-09-13 18:01:19 +02:00
Andrea Bogazzi
2415eec00d
Update object.class.js
2014-09-13 17:05:17 +02:00
Andrea Bogazzi
e284fc0ec3
Update gradient.class.js
2014-09-13 17:03:56 +02:00
Andrea Bogazzi
ef18a5b9f1
Update polyline.class.js
2014-09-13 16:48:38 +02:00
Andrea Bogazzi
66c2714df8
Update polyline.class.js
2014-09-13 16:39:40 +02:00
Andrea Bogazzi
e05a5a78e3
Update polygon.class.js
2014-09-13 16:38:42 +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
Juriy Zaytsev
e6db38bb85
Merge pull request #1654 from zigotica/patch-1
...
bugfix: add toObject so Blend can be serialized
2014-09-12 17:58:25 +04:00
Sergi Meseguer
bc4c1c0c6d
bugfix: add toObject so Blend can be serialized (added missing ;)
2014-09-12 15:53:59 +02:00
Juriy Zaytsev
071c63135e
Merge pull request #1639 from asturur/Polygons-and-Polylines-top-and-left-property-precendece
...
Polygons and polylines top and left property precedence
2014-09-11 10:58:42 +04:00
Sergi Meseguer
879bfbbb62
bugfix: add toObject so Blend can be serialized (extend not needed)
2014-09-10 13:59:22 +02:00
Sergi Meseguer
af2b6c70b4
bugfix: add toObject so Blend can be serialized
2014-09-10 13:46:14 +02:00
Andrea Bogazzi
7cbe8a965e
Update arc.js
...
Fix useless optimization of code that was rendering arcs not correctly
2014-09-09 14:17:44 +02:00
Chris Buergi
fb573607e2
Merge branch 'master' into scaling-strokewidth-fix
2014-09-08 10:45:42 +02:00
Chris Buergi
0739f4cad8
Only use strokeWidth in object scaling when stroke is set.
...
Also only use half of the strokeWidth, this matters especially when the strokeWidth is large compared to the object size.
2014-09-08 10:43:55 +02:00
Andrea Bogazzi
c2820bfcd5
Update polygon.class.js
...
!options..left would fail in case of left = 0.
2014-09-05 23:04:12 +02:00
Andrea Bogazzi
67a4be50a2
Update polyline.class.js
...
Mirror polygon changes
2014-09-04 22:59:24 +02:00
Andrea Bogazzi
aff2c4f313
Update polygon.class.js
...
Now polygon Top and Left can be setted in the contructor call or calculated by the points.
2014-09-04 22:37:25 +02:00
Joe Rozek
d2b146c21c
support for preserving object stacking
2014-09-04 12:01:48 -07:00
Juriy Zaytsev
791c74a82e
Merge pull request #1631 from asturur/Gradient-Fix-Part-2
...
Fix gradient rendering
2014-09-04 01:57:37 +04:00
Juriy Zaytsev
74bc327011
Merge pull request #1635 from asturur/Polygons-and-Polylines
...
Fix polygons and polylines rendering
2014-09-04 01:55:29 +04:00
Juriy Zaytsev
f250b259ec
Merge pull request #1616 from asturur/Itext-firefox-squares-and-new-keys
...
Add support for control keys
2014-09-04 01:18:11 +04:00
Andrea Bogazzi
917d83b139
Update polyline.class.js
2014-09-03 22:49:47 +02:00
Andrea Bogazzi
6afc4dbc3a
Update polygon.class.js
2014-09-03 22:49:04 +02:00
Andrea Bogazzi
2dd8884129
Update gradient.class.js
...
why it didn't tell me all togheter is a mistery.
Code style fix part 2.
2014-09-02 22:51:44 +02:00
Andrea Bogazzi
f854db4e4c
Update gradient.class.js
...
code styles error fixed.
2014-09-02 22:47:49 +02:00
Andrea Bogazzi
55f9a5947b
Update rect.class.js
2014-09-02 22:40:49 +02:00
Andrea Bogazzi
d87af17aa4
Update gradient.class.js
2014-09-02 22:40:00 +02:00
Juriy Zaytsev
cefc838e90
Merge pull request #1628 from asturur/text-export-fpr-groups
...
Update text.class.js
2014-08-30 14:57:13 +04:00
kangax
da3184aaae
Fix style error
2014-08-30 13:22:19 +04:00
kangax
a3d40878d6
Update JSCS to 1.6, fix errors, hook up travis
2014-08-30 13:18:43 +04:00
Juriy Zaytsev
392d3e9a7e
Merge pull request #1624 from asturur/missing-width-or-height
...
Update parser.js
2014-08-29 13:15:05 +04:00
Andrea Bogazzi
3b911a9882
Update text.class.js
...
Fixes exporting of text simple group.
Thanks to Chris Buergi to make me notice
2014-08-28 22:28:28 +02:00
Chris Buergi
7db0fe0aa2
Allow to opt out from the viewport transformation of the SVG output.
2014-08-28 13:43:36 +02:00
Andrea Bogazzi
b43492554a
Update parser.js
...
Added comment for future reference
2014-08-28 00:04:07 +02:00
Andrea Bogazzi
4c4ba5bfe0
Update parser.js
...
Added comment for future reference
2014-08-27 23:09:31 +02:00
Andrea Bogazzi
cd7bea6183
Update parser.js
...
Better than getting 0px width and height.
Specs say that when they are missing we should consider 100%, in our case 100% will be 100px because we don't have anything to compare the SVG to before adding the SVG into a canvas.
Otherwise we could take canvas widht and height.
2014-08-27 14:17:33 +02:00
Andrea Bogazzi
18b17b4170
Update itext_key_behavior.mixin.js
...
Sorry, i missed that.
2014-08-25 15:14:19 +02:00
Andrea Bogazzi
f83636acb1
Update itext_key_behavior.mixin.js
...
Better behaviour of selection with keyboard.
Now you can cross from select direction LEFT to RIGHT and back.
2014-08-25 15:10:12 +02:00
Andrea Bogazzi
41b53f53e4
Update itext_key_behavior.mixin.js
2014-08-25 12:21:59 +02:00
Andrea Bogazzi
bce8d4f847
Update itext_key_behavior.mixin.js
2014-08-25 12:02:16 +02:00
Ulrich Sossou
dc7266bc1d
Fix coding style
2014-08-24 18:25:58 +01:00
Ulrich Sossou
2541b7b69b
Properly calculate width of whitespace characters when text is justified
2014-08-24 15:41:51 +01:00
Ulrich Sossou
f02622ea26
Merge branch 'master' into hotfix/printable-characters-not-working
...
Conflicts:
src/mixins/itext_key_behavior.mixin.js
2014-08-23 18:58:29 +01:00
Juriy Zaytsev
060a4f6b12
Merge pull request #1604 from sorich87/hotfix/top-cursor-boundary-calculation
...
Use _getTopOffset to calculate top cursor boundary
2014-08-23 19:53:01 +02:00
Juriy Zaytsev
29c0448235
Merge pull request #1573 from brexis/patch-1
...
Update itext_key_behavior.mixin.js
2014-08-23 18:46:11 +02:00
Ulrich Sossou
9d8cd6ebb2
Accept all printable characters
2014-08-20 14:09:47 +01:00
Marc Galang
7111e6f2cc
Merge remote-tracking branch 'upstream/master'
2014-08-20 15:58:28 +03:00