Commit graph

1432 commits

Author SHA1 Message Date
asturur
2495d58523 Update line.class.js 2014-07-18 16:28:29 +02:00
asturur
f610ffe9de Update path.class.js 2014-07-18 16:27:29 +02:00
asturur
4db2d6c5ed Update text.class.js 2014-07-18 16:24:34 +02:00
asturur
3bf7fbc619 Update text.class.js 2014-07-18 16:24:15 +02:00
asturur
0c36a1a7cc Update polygon.class.js 2014-07-18 16:13:46 +02:00
asturur
58e318f214 Update polyline.class.js 2014-07-18 16:12:39 +02:00
asturur
7d3aa1cbef Update misc.js
Always return a pathgroup if we parse a svg.
2014-07-18 16:10:11 +02:00
kangax
3df3c396a2 Fix unit tests 2014-07-18 13:11:18 +02:00
Stefan Kienzle
6b5f049bb0 JSDoc + JSCS tweaks - Part 2 2014-07-18 11:16:23 +02:00
Juriy Zaytsev
61853dd275 Merge pull request #1495 from Kienz/issue1494
Fix initialization of viewportTransform array
2014-07-17 18:54:27 +02:00
Juriy Zaytsev
2c6cafe34f Merge pull request #1496 from Kienz/jsdocFixes
JSDoc + JSCS tweaks - Part 1
2014-07-17 18:52:54 +02:00
asturur
795d8a7aa5 Update misc.js
some more polishing, for me and for toFixed.
2014-07-17 16:38:09 +02:00
asturur
5ca64ad636 Update parser.js 2014-07-17 16:25:59 +02:00
asturur
dfbd1887bf Update misc.js
some more polishing
2014-07-17 16:24:46 +02:00
Stefan Kienzle
b34387d10e JSDoc + JSCS tweaks - Part 1 2014-07-17 16:18:57 +02:00
Stefan Kienzle
43b029e8a4 Just do slice() for cloning 2014-07-17 14:35:28 +02:00
Stefan Kienzle
306a040fef Fix initialization of viewportTransform array
Add unit tests
JSDoc tweaks
2014-07-17 13:28:55 +02:00
asturur
0bb156f308 Update misc.js
it had some problem with len of string 0 and slicing from 0 to -0 , or calculating len of ''.
now is ok, rects went crazy and i didn't notice.
2014-07-17 07:44:03 +02:00
asturur
d34f970ffb Update misc.js 2014-07-17 00:42:31 +02:00
asturur
81092715c1 Update misc.js
added missing space.
2014-07-17 00:38:55 +02:00
asturur
d78996194b Update misc.js 2014-07-17 00:37:27 +02:00
asturur
bd4c7a0c4d Update parser.js 2014-07-16 18:56:10 +02:00
asturur
0d4320c018 Update parser.js
Use parseUnit to normalize pt,pc,mm,in,cm to px.
2014-07-16 15:34:54 +02:00
asturur
bf4fa0091f Update misc.js
add parseUnit function to normalize mm,cm,in,pt,pc to pixels.
res is setted to 96dpi is not real screen resolution dependant.
2014-07-16 15:29:41 +02:00
kangax
69fdc220e1 Add JSDoc validation in JSCS. Few style/doc fixes. 2014-07-16 11:45:50 +02:00
Mike Shaver
825bec65df More doc-comment fixes. 2014-07-15 15:59:53 -07:00
Juriy Zaytsev
49a783bb2a Merge pull request #1484 from shaver/doc-comment-fixes
Fix some doc comment errors that were preventing build.
2014-07-16 00:47:47 +02:00
Mike Shaver
095ee86e37 Fix some doc comment errors that were preventing build. 2014-07-15 15:34:06 -07:00
Juriy Zaytsev
26a964f241 Merge pull request #1476 from twffy/upstream
Fix positioning of controls for lines
2014-07-15 19:17:05 +02:00
Paul Kaplan
bbd1dd2d99 Simplify point parsing logic
The SVG spec basically allows delimiting numbers and pairs of numbers
with either whitespace or commas, so convert all commas to whitespace,
split on whitespace and remove the `asPairs` logic
2014-07-14 09:59:03 -05:00
Paul Kaplan
112dce71a3 Allow whitespace around commas in point parsing
Per the SVG spec:

http://www.w3.org/TR/SVG/shapes.html#PointsBNF
2014-07-12 18:08:03 -05:00
Tom French
9bbb4911c9 Brace style and JSHint 2014-07-11 18:29:17 +01:00
Tom French
91c642b0fa Fix controls for lines while scaling 2014-07-11 13:24:26 +01:00
Tom French
154b1cf5a3 Fix controls for scaled lines 2014-07-11 13:12:38 +01:00
Tom French
1434daac47 Fix controls for lines without caps 2014-07-11 13:12:13 +01:00
asturur
a453ba83d7 Update ellipse.class.js
Fixes border without killing opacity. Opacity need to be moved in render function maybe, not in _render.
2014-07-10 12:09:47 +02:00
Tom French
c40cada006 Merge remote-tracking branch 'upstream/master' 2014-07-09 20:12:38 +01:00
Tom French
23ab51b733 Fixes for stroked objects 2014-07-09 19:51:28 +01:00
Juriy Zaytsev
1663b5644c Merge pull request #1466 from simvan/IE8-IsVML-issue
isVML causing an issue in IE8 when filling in the corners of rectangles
2014-07-09 12:26:38 +02:00
Stefan Kienzle
9ad2279e8a Revert JSCS tweaks for single-line return statements. 2014-07-08 13:32:58 +02:00
Simon van Lankveld
6df9412bf7 Changing isVML to a function so that the G_vmlCanvasManager can be evaluated when needed instead a single time at the beginning. 2014-07-08 21:49:20 +12:00
Stefan Kienzle
de99a508c2 Make setCursor public.
JSCS tweaks.
2014-07-07 16:18:31 +02:00
Tom French
8cf9642fe4 Transform point given to zoomToPoint 2014-07-05 20:18:23 +01:00
Tom French
6b8ce5c1ce JSHint 2014-07-05 18:06:21 +01:00
Tom French
300de3be0d Correct rendering of active group 2014-07-04 20:07:04 +01:00
Tom French
d5f8d88bfc Fix ToSVG scaling 2014-07-04 17:47:25 +01:00
Tom French
ec0dcbfeb0 JSHint 2014-07-04 17:33:37 +01:00
Tom French
f6161f8713 ToSVG respects viewport transformation 2014-07-04 11:29:48 +01:00
Tom French
6fbd5df49c Fix FromObject 2014-07-04 11:29:48 +01:00
Tom French
42ce906e0d Fix group coordinates 2014-07-04 11:29:30 +01:00