kangax
02a13062ee
Fix bug when exponent notation (e.g. "q 10.47e-3") would trip up path parsing mechanism.
2012-07-26 00:17:04 +02:00
kangax
d9a64e4529
Replace element in applyFilters directly, to avoid messing up image instance dimensions.
2012-07-20 21:16:14 +02:00
kangax
92a8a3d34c
Add support for specifying which modules to exclude during build.
...
For example:
`node build.js modules=ALL exclude=easing`
or:
`node build.js modules=serialization,easing exclude=image_filters,text`
Add support for stripping "use strict" directives during build (for compatibility with Rails 3).
2012-07-19 13:34:32 +02:00
kangax
ea699a776a
Width/height passed to fabric.Image during initialization now take precedence over actual image width/height.
2012-07-19 11:45:04 +02:00
kangax
edbce2b32a
Documentation fixes.
2012-07-19 11:43:46 +02:00
kangax
57484274ba
Fabric events related to objects can now be observed on objects themselves.
...
For example, instead of:
canvas.observe('object:selected', function(o) {
console.log('selected', o.target);
})
you can now do:
object.on('selected', function() {
console.log('selected', object);
});
Events that are fired on objects are:
- mouseup
- mousedown
- mousemove
- rotating
- scaling
- moving
- modified
- selected
- added
2012-07-18 18:29:27 +02:00
kangax
9590fe597c
In fabric.Observable, observe is now on, stopObserving — off. observe and stopObserving are deprecated.
2012-07-18 18:25:51 +02:00
kangax
fc7ce11cd3
Mark fabric.Text as synchronous. Closes #198 .
2012-07-18 17:03:28 +02:00
kangax
5ce8df3c67
Remove invisible rotating point and fix few other bugs with it. Add fabric.Object#rotatingPointOffset offset. Closes #190 .
2012-07-11 16:29:10 +02:00
kangax
66247a7b1c
Fix text shadow messing up size of bounding box.
...
Fix text shadow appearing under text background.
2012-07-11 01:52:52 +02:00
kangax
ae45281d18
Fix setBackgroundImage option setting.
2012-07-09 19:02:24 +02:00
kangax
aab5adcd11
Fix rendering artifact with rounded rectangles. Thanks Anne Poveda.
2012-07-09 18:11:18 +02:00
kangax
c988e5a8c3
Fix fabric.Line regression.
2012-06-28 21:14:19 +02:00
kangax
8581f94341
Fix polyline/polygon rendering in IE8. Closes #124 .
2012-06-28 21:12:30 +02:00
kangax
f1cd5ebe1d
Fix lines not respecting left/top when loaded from object. Closes #151 .
2012-06-28 20:36:55 +02:00
kangax
0cb73481dd
Build dist, bump version.
2012-06-26 16:44:14 +02:00
kangax
ab11c82b18
Fix callback to be invoked after background image is set.
2012-06-26 16:43:35 +02:00
kangax
be5e8a600f
Remove redundant "//= require" statements.
2012-06-26 16:42:45 +02:00
kangax
b669085c97
Fix groups being lost after toDataURLWithMultiplier.
2012-06-26 16:41:43 +02:00
kangax
30f24f7f35
Fix loadFromJSON not invoking callback. Closes #184 .
2012-06-25 15:27:10 +02:00
kangax
4dcf268d67
Prevent error in initFilters when filter is null (filters array is with holes).
2012-06-24 11:52:00 +02:00
kangax
5967f4557d
Show modules included in a build when creating distribution file.
2012-06-24 11:51:01 +02:00
kangax
2a917f9263
fabric.sublime-project -> .siblime-project
2012-06-24 11:50:09 +02:00
kangax
249c330ed6
Add fabric.util.groupSVGElements for creating fabric.<Element> or fabric.PathGroup out of a group of elements.
2012-06-23 19:28:53 +02:00
kangax
411c027cf5
Bump version and built distribution files, now that group_rewrite is merged.
2012-06-23 18:51:58 +02:00
kangax
83582467d6
Merge master
2012-06-23 18:18:02 +02:00
kangax
9926d8389a
[BACK_INCOMPAT] Remove CANVAS_WIDTH, CANVAS_HEIGHT properties from fabric.Canvas.prototype (as they're no longer used anywhere). Lowercase some of the fabric.Canvas.prototype properties, for consistency: CURSOR -> defaultCursor, ROTATION_CURSOR -> rotationCursor, HOVER_CURSOR -> hoverCursor, CONTAINER_CLASS -> containerClass.
2012-06-23 00:18:41 +02:00
kangax
9d36e26d71
Fix "mouse:down", "mouse:move", "mouse:up" events not firing during free drawing mode.
2012-06-22 17:25:15 +02:00
kangax
5d803c9778
Fire "mouse:down", "mouse:move", "mouse:up" events during free drawing mode.
2012-06-22 17:05:07 +02:00
kangax
dd43c23e86
Check for callback presence in fabric.Group.fromObject.
2012-06-21 09:59:48 +02:00
kangax
126c2aa507
Merge master
2012-06-20 17:43:39 +02:00
kangax
d6f7c9effb
fabric.Canvas#setOverlayImage now correctly returns a reference to a canvas instance.
2012-06-19 20:33:46 +02:00
kangax
0a16b26bca
Add sublime project configuration.
2012-06-19 20:32:42 +02:00
kangax
1706361616
Fix bug with rendering of subsequent "S" commands, where reflection of control point would be considering 1st control point of previous command, not 2nd one. Closes #177 .
2012-06-17 13:25:17 +02:00
kangax
da2ed018d8
Fix fabric.util.requestAnimFrame erroring out due to wrong "context".
2012-06-15 17:35:05 +02:00
kangax
cd59885370
Fix port recognition from URL when loading SVG's via node.
2012-06-14 14:12:42 +02:00
kangax
5e29a2b319
Fix bugs in fabric.Object#animate (thanks Anton Ignatov).
2012-06-13 13:30:53 +02:00
kangax
b5d76f752d
Add more image filters (Sepia, Sepia2, Brightness, Noise, GradientTransparency) based on Stoyan's demo — http://www.phpied.com/pixel-manipulation-in-canvas/ Fix bug with fabric.Image and filters.
2012-06-11 19:17:24 +02:00
kangax
b701627f42
Fix "stroke-width" being ignored in style attribute.
2012-06-10 12:13:12 +02:00
kangax
1da65cbead
Build distribution.
2012-06-10 11:35:24 +02:00
kangax
787bb86198
Build distribution, bump version.
2012-06-07 16:24:44 +02:00
kangax
09585654a8
Cloned canvas now preserves background image (and all of its properties) properly.
2012-06-07 16:24:44 +02:00
kangax
e17fe9ddef
Prevent error in fabric.Object#toDataURL when called before setCoords.
2012-06-07 16:24:44 +02:00
kangax
9e605340c1
Fix subclassing mechanism to work correctly with 2+ level deep inheritance. Closes #134 . Closes #141 .
2012-06-07 16:24:44 +02:00
Juriy Zaytsev
6c58524d73
Merge pull request #175 from Reggino/master
...
Escape XML globally.
2012-06-07 06:28:07 -07:00
Tim de Koning
a64ae3d9eb
XML entities should be escaped globally!
2012-06-07 15:24:00 +02:00
kangax
bb389e4723
Removing active object now fires "selection:cleared" events. Closes #121 .
2012-06-07 12:47:15 +02:00
kangax
1ae8aa3a69
Update distribution, bump version to 0.8.15.
2012-06-07 12:32:58 +02:00
kangax
9130ab7f60
Add "object:added" event. Fires when object is added to canvas (either via canvas.add or canvas.insertAt).
2012-06-07 12:32:58 +02:00
kangax
7791e9c2e0
IE fix for gradient parsing.
2012-06-07 12:32:58 +02:00