Commit graph

141 commits

Author SHA1 Message Date
kangax
b330c9d715 Build distribution. Fix unit tests. Version 0.9.27. 2012-12-03 20:23:45 +01:00
kangax
c105212c9c Doc fixes. Version 0.9.26 2012-12-02 11:53:38 +01:00
kangax
2329ef59fe Add support for specifying additional properties to return in toObject, toJSON. Fix #272. 2012-11-30 23:46:09 +01:00
kangax
63c5c02560 Add support for dashed selection. Thanks @coulix! Version 0.9.24. 2012-11-28 13:04:39 +01:00
kangax
d693130115 Add canvas reference to active group. Version 0.9.23. 2012-11-27 16:25:07 +01:00
kangax
2e1d02148b Get rid of _theta and update "angle" property dynamically. Version 0.9.22. Fix #283. 2012-11-15 14:20:45 +01:00
kangax
a83b97a4e4 Add Convolute and Pixelate filters. Fix bug with consecutive "m"/"M" commands and "s" command. Version 0.9.21. 2012-11-03 16:14:05 +01:00
kangax
dbe5ad2149 Adjust positioning of text objects created via fromElement. Fix #303. Version 0.9.20. 2012-10-31 00:19:13 +01:00
kangax
aaee929373 Make overlay image part of canvas object/json representation. Some renderAll cleanup. Fix #265. 2012-10-28 12:21:44 +01:00
kangax
5998dfc1a5 toSVG now displays flipped objects correctly. Fix #297. Version 0.9.18. 2012-10-26 15:26:44 +02:00
kangax
b9da2c4da2 Use "alphabetic" as textBaseline value. This normalizes vertical text position across browsers. Thanks Eric Lesch. 2012-10-23 22:58:44 +02:00
kangax
d3ee764bc9 Build distribution. Version 0.9.16. 2012-10-20 20:13:21 +02:00
kangax
79f1b47063 Add uglifyjs as dev dependency. Fix compressing script. 2012-10-17 11:19:41 +02:00
kangax
15b1dcc555 Remove redundant bordervisibility/cornervisibility properties from image objects. Version 0.9.15. 2012-10-17 01:25:01 +02:00
kangax
84a956c4b6 Lint everything with JSHint. Version 0.9.14. 2012-10-14 02:53:12 +02:00
kangax
07698a22ae Add support for finding target per-pixel (ignoring transparent ones). This allows to drag shapes by non-transparent pixels only. Thanks Steve Pemberton for initial work. Version 0.9.13. 2012-10-11 00:40:03 +02:00
kangax
999f7f5231 Account for bounding box in scaleToWidth/scaleToHeight. Fix #271. Version 0.9.12. 2012-10-08 19:35:37 +02:00
kangax
4ac8b68d78 Show rotating point handle only if hasControls=true. Remove "hideCorners" since there's already "hasControls" property (consistent with "hasBorders" one). Version 0.9.11. 2012-10-07 16:12:37 +02:00
kangax
b555245780 Add support for animating multiple properties. 2012-10-03 23:45:49 +02:00
kangax
20f9b9ed36 Build distribution. Version 0.9.8. 2012-09-10 19:47:12 -04:00
kangax
44dc5f7fe7 Update text dimensions after changing text. Closes #257. Version 0.9.7. 2012-09-07 13:30:32 -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
1d3de62a9c Add "controlsAboveOverlay" option to canvas. 2012-09-01 23:22:16 -04: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
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
189b0efd34 Bump version to 0.9.0. 2012-08-20 18:34:37 +02:00
kangax
90d7f7acf3 Fix native text rendering under node-canvas. 2012-08-16 18:08:24 +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
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
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
kangax
3ce8507932 Implement fabric.Text.fromElement. Closes #182. 2012-08-11 18:59:53 +02:00
kangax
fe9d927d47 Move site into a different repository. 2012-08-10 17:20:04 +02:00
kangax
956d8708ed Add fabric.Group#toSVG. 2012-08-09 13:07:26 +02:00
David Rice
b108dedace Use git url for node-canvas, no released version builds under npm currently due to in progress change from node-waf to node-gyp 2012-08-08 21:03:15 +01:00
kangax
3f61013c31 Bump allowed node version to 0.6.8. 2012-08-08 00:52:38 +02:00
kangax
f99ee7e2e7 Build distribution, bump version. 2012-08-08 00:04:44 +02:00
kangax
04d770aa35 No longer allow to resize inactive objects (this also means cursor doesn't appear when hovering over resizing controls of inactive (non-selected) objects). 2012-08-02 21:19:06 +02:00
kangax
581d5a54b9 Fix compatibility with Node (including loadSVGFromString). 2012-07-31 20:55:49 +02:00
kangax
7aaba5c227 Make npm test work via node-qunit. Add .travis.yml. 2012-07-29 22:48:34 +02:00
kangax
0371d7ba7c Bump version to 0.8.4 (now with native text support). 2012-07-27 00:35:09 +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
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
fc7ce11cd3 Mark fabric.Text as synchronous. Closes #198. 2012-07-18 17:03:28 +02:00