Commit graph

390 commits

Author SHA1 Message Date
Shaw
0a52d59239 toDataURL via StaticCanvas
Fix for `toDataURL` not working without interaction module (issue #1891)
2014-12-12 13:10:59 -06: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
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
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
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
kangax
5a3b5657c5 Check for canvas presence before accessing multiplier 2014-11-07 12:06:24 +01:00
Ibrahim Muhammad
d3224bd5d3 Fix documentation typo 2014-11-06 16:53:41 -08: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
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
Andrea Bogazzi
ed00d1c5fb Update text.js 2014-10-29 15:25:08 +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
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
Andrea Bogazzi
035cf52f79 Update group.class.js 2014-10-20 17:55:09 +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
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
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
49f449ee4f Update image.class.js 2014-10-11 21:56:38 +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
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
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
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
Andrea Bogazzi
00a442b028 exit from getSvgTransform just for pathGroups.
Fix Svg Export for normal canvas group
2014-09-25 11:05:39 +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
Andrea Bogazzi
673d8584d9 Update object.class.js 2014-09-21 20:54:21 +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
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
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