kangax
44dc5f7fe7
Update text dimensions after changing text. Closes #257 . Version 0.9.7.
2012-09-07 13:30:32 -04:00
kangax
7cf01772a4
Fix fabric.Text#set.
2012-09-07 13:15:42 -04:00
kangax
0171b665be
Fix SVG rendering of lines and images in groups.
2012-09-06 16:41:31 -04:00
kangax
ada83ffff5
Change unstable image test once again
2012-09-06 12:06:40 -04:00
kangax
06b0746258
Fix transform matrix bug. Closes #33 .
2012-09-06 12:00:36 -04:00
kangax
77c7bd134f
Fix object padding.
2012-09-05 17:25:37 -04:00
kangax
762cfb7b8a
Fix unit tests. Add loadFromJSON test for previous fix. Version 0.9.5.
2012-09-02 12:28:52 -04:00
kangax
5f19d75a03
[BACK_INCOMPAT] Move NUM_FRACTION_DIGITS & MIN_SCALE_LIMIT to fabric.Object.
2012-09-02 11:50:07 -04:00
kangax
f646bdc735
object.theta --> object._theta
2012-09-02 11:34:48 -04:00
kangax
232f671b24
Fix loadFromJSON with async content.
2012-09-02 10:39:07 -04:00
kangax
f01736183a
Fix straight-line polyline/polygon rendering.
2012-09-01 23:22:16 -04:00
kangax
1d3de62a9c
Add "controlsAboveOverlay" option to canvas.
2012-09-01 23:22:16 -04:00
Juriy Zaytsev
2237463cb8
Merge pull request #251 from Kienz/rotatingPoint-Bugfix
...
Fix bug with rotating point and large strokeWidth values.
2012-08-28 08:16:43 -07:00
Kienz
77fe7884c0
RotatingPoint not working since strokeWidth is included in boundingBox of objects.
...
This should fix this.
Jsfiddle example:
http://jsfiddle.net/r2ZE7/23/
2012-08-27 19:51:28 +02:00
kangax
204923e86c
Object boundaries now take "strokeWidth" into consideration. Closes #166 .
2012-08-26 23:25:16 +02:00
kangax
c9d9577d61
Add contributors to README
2012-08-26 21:19:42 +02:00
kangax
eb4ac004aa
Gradients now render properly in IE9 (thanks Kienz).
...
Closes #110 , #247 . Version 0.9.3.
2012-08-26 21:14:34 +02:00
Juriy Zaytsev
b8983f9760
Merge pull request #244 from willmcneilly/image-render-fix
...
Add transform matrix to render method, reset image width and height.
2012-08-26 11:51:35 -07:00
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
Will McNeilly
2a22e1dba6
add transform matrix to render method, reset image width and height
2012-08-21 17:19:55 +01: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