kangax
deb33940a2
Avoid rendering dot in FF on click in free drawing mode.
2012-08-23 15:15:11 +02:00
kangax
dc8224138d
Fix gradient rendering in path objects.
2012-08-21 19:31:39 +02:00
kangax
9cde32897a
Clear dummy DOM element used for Cufon rendering.
2012-08-21 16:00:09 +02:00
kangax
0bbaddf859
Fix _initGradient with non-empty non-gradient values.
2012-08-20 18:39:04 +02:00
kangax
189b0efd34
Bump version to 0.9.0.
2012-08-20 18:34:37 +02:00
kangax
db37e1e855
Add convenience methods to objects, utilizing new object.canvas property — reference to a canvas to which an object was added last. Add unit tests for new methods.
2012-08-20 18:23:54 +02:00
kangax
9a7d40d7d7
Change the way gradients are initialized.
...
They no longer need `ctx` property, which is now taken from object directly during rendering time.
Add unit tests for gradients.
2012-08-20 18:23:53 +02:00
kangax
3fbdd508ba
Fix inline docs.
2012-08-20 18:23:53 +02:00
kangax
fc194eeec1
Unify object initialization logic used in add and insertAt.
2012-08-20 18:23:53 +02:00
kangax
9594ba330f
gradient.js --> gradient.class.js
2012-08-20 18:23:53 +02:00
kangax
d97f08b5a3
Remove line.html file.
2012-08-20 18:23:53 +02:00
kangax
e3a179f84f
Update distribution.
2012-08-20 18:23:53 +02:00
Juriy Zaytsev
b871c95def
Merge pull request #240 from joshpearce/newMaster
...
Add reviver method in parser.
2012-08-20 09:16:46 -07:00
joshpearce
5923e008f7
Update src/parser.js
2012-08-19 21:36:37 -03:00
Josh Pearce
cf7a6d1482
Added reviver method in parser
...
The optional method is used when asking fabric to
load an SVG file and parse it, instantiating fabric objects.
After each fabric object is created, reviver(ele, obj) is
called so you can parse our custom attributes, or do
anything else custom.
2012-08-19 16:07:28 -04:00
kangax
90d7f7acf3
Fix native text rendering under node-canvas.
2012-08-16 18:08:24 +02:00
Juriy Zaytsev
ef8e7130f8
Merge pull request #237 from willmcneilly/path-rendering-bugs
...
Shorthand quadratic curveto rendering fixes.
2012-08-16 09:07:23 -07:00
Will McNeilly
a4929cdbd4
shorthand quadratic curveto rendering fixes, dealing with coincident points.
2012-08-16 13:58:10 +01:00
Juriy Zaytsev
547ed4e150
Merge pull request #236 from Kienz/master
...
Add quality parameter to toDataURL + toDataURLWithMultiplier.
2012-08-15 11:59:29 -07:00
Kienz
34be62682f
Add quality parameter for toDataURL and toDataURLWithMultiplier
2012-08-15 20:42:28 +02:00
kangax
8e429ceaf9
Fix loadFromDatalessJSON when native text is present in data. Bump allowed node version to 0.8.6.
2012-08-15 15:30:59 +02:00
kangax
98614842e7
Bring IMG_WIDTH/IMG_HEIGHT back.
2012-08-14 16:13:30 +02:00
kangax
7151dc211c
Fix failing unit tests.
2012-08-14 16:04:32 +02:00
kangax
dc6d262b01
User renderOnAddition in canvas#insertAt. Closes #233 .
2012-08-14 15:39:21 +02:00
Juriy Zaytsev
1f69989bc9
Merge pull request #230 from davidjrice/node-canvas-0-13-0
...
Move to using node-canvas 0.13.0.
2012-08-14 06:35:25 -07:00
kangax
9d2f3d261b
Fix rendering bug with objects in group that also have transform attribute.
2012-08-14 14:37:27 +02:00
kangax
a0d05624ed
Remove incorrect offsets in polygon rendering and fix <rect> position when part of a group. Closes #113 . Closes #229 .
2012-08-14 14:03:20 +02:00
David Rice
19763483df
With node-canvas 0.13.0 (and libgif installed) image width/height can be determined for a .gif
2012-08-13 16:30:31 +01:00
David Rice
562c81b0f6
Specify all of node-canvas apt dependencies for travis ci
2012-08-13 15:15:09 +01:00
David Rice
2687aca8e1
Use node-canvas 0.13.0
2012-08-13 15:12:11 +01:00
kangax
99458c3f43
Build distribution.
2012-08-13 11:39:30 +02:00
kangax
69f446747d
Specify node-canvas @ 0.12.0
2012-08-13 11:37:01 +02:00
Juriy Zaytsev
b4f2f64ff1
Merge pull request #224 from davidjrice/path-fixes
...
Add fixes for "q" and "t" quadratic curves, as well as support for consecutive "t" curves.
2012-08-11 12:53:46 -07:00
Juriy Zaytsev
f853fcc8ee
Merge pull request #227 from eyvoro/patch-1
...
Update README.md
2012-08-11 10:55:07 -07:00
Andrey Voronov
92b4bc7ae1
Update README.md
2012-08-11 20:43:38 +03:00
kangax
3ce8507932
Implement fabric.Text.fromElement. Closes #182 .
2012-08-11 18:59:53 +02:00
kangax
df02b880ae
Remove no longer needed test files
2012-08-11 16:32:02 +02:00
kangax
181bd2f85f
Update travis and sublime-project configs
2012-08-10 17:42:52 +02:00
kangax
fe9d927d47
Move site into a different repository.
2012-08-10 17:20:04 +02:00
Will McNeilly
1ba26ad05f
Add fixes for q and t quadratic curves and add support for consequtive t curves
2012-08-09 15:07:24 +01:00
kangax
956d8708ed
Add fabric.Group#toSVG.
2012-08-09 13:07:26 +02:00
kangax
daa6b4cbbf
Fix fabric.Line#set method to call _setWidthHeight after coordinates update.
2012-08-09 12:24:22 +02:00
kangax
44861f7ca4
Add travis badge to README.
2012-08-09 12:17:28 +02:00
Juriy Zaytsev
af806880c3
Merge pull request #222 from davidjrice/tests
...
Fix submodule reference to get new tests correctly.
2012-08-09 03:16:51 -07:00
David Rice
c4c4eda94a
Revert to kangax submodule url
2012-08-09 02:07:06 +01:00
David Rice
34a4f14f47
Hopefully should fix branch issue with submodule causing build failure
2012-08-09 01:54:29 +01:00
David Rice
de78badb42
Change ref to submodules
2012-08-09 01:16:13 +01:00
Juriy Zaytsev
b07641a50f
Merge pull request #220 from davidjrice/tests
...
Fix strokeDashArray related tests.
2012-08-08 15:31:12 -07:00
David Rice
4882d540be
running npm test should exit with a failure status if test failures > 0, should fix travisci reporting
2012-08-08 23:28:07 +01:00
David Rice
9e5c2d3a9e
Fixing tests
2012-08-08 23:07:27 +01:00