Commit graph

338 commits

Author SHA1 Message Date
kangax
112b920f2a Update link to kitchensink demo in README. 2011-10-13 14:26:08 -04:00
Juriy Zaytsev
0a460861f1 Merge pull request #59 from khronnuz/master
Add "fontSize" to "stateProperties" of `fabric.Text`.
2011-09-30 15:22:10 -07:00
Jhonny Everson
40edcb8e8b fontSize not being used from options in fabric.Text 2011-09-30 07:46:41 -03:00
kangax
2b08618742 Fire "object:scaling" and "object:rotating" events. 2011-09-29 09:31:57 -04:00
kangax
36aeed700a [BACK_INCOMPAT] fabric.Canvas#selection boolean property now only affects _group_ selection (i.e. blue area that allows to select multiple objects no longer appears). Objects can still be selected by clicking on them. To make _everything unselectable_ — set "selectable" property of each object to false AND fabric.Canvas#selection to false. 2011-09-26 14:43:00 -04:00
kangax
5627b5b06c Fix reference error. 2011-09-26 14:40:27 -04:00
kangax
19f7736658 Update documentation and fix JSDoc templates. 2011-09-22 12:40:31 -04:00
kangax
5fa051ccb9 Do not add/remove touch listeners in non-supporting environments. 2011-09-22 11:56:19 -04:00
kangax
efd2aba325 Add basic touch event support. 2011-09-21 19:29:00 -04:00
kangax
36fe5e3a6f Fix bug w. fabric.Text not accounting for fontSize. 2011-09-21 11:18:58 -04:00
kangax
99e64c30ee Closes #52. Fix initialization of fabric.Group with undefined "paths". 2011-09-20 14:25:25 -04:00
kangax
db456d2b68 Closes #49. Fix z-index issues with JSON loading.
`fabric.Canvas#insertAt` now accepts third (boolean) argument, indicating whether splicing can be used of insertion or not.
2011-09-19 20:23:00 -04:00
kangax
ba165a0222 Remove _site. 2011-09-19 19:51:11 -04:00
kangax
475578276e Fix fabric.Line to update width/height when changing x1,y1,x2,y2 coordinates. 2011-09-19 17:48:16 -04:00
kangax
b8036e848e Fix broke link in README. 2011-09-16 15:28:23 -04:00
kangax
fd9a00f608 Move site to _site. 2011-09-08 19:23:12 -04:00
kangax
5e420939b4 Add /site to .npmignore 2011-09-08 15:59:52 -04:00
kangax
6415c573fe Intercept error in node requests to avoid process failing on connection refused or other errors. 2011-09-08 15:56:59 -04:00
kangax
fe08e6aa3b Revamp site to use jekyll. 2011-09-07 18:02:17 -04:00
kangax
5dc7220425 Closes #51 again. Fix background scaling in toDataURLWithMultiplier. 2011-09-07 16:30:25 -04:00
kangax
952a31262e Closes #51. Fix canvas background becoming smaller when "rasterizing" canvas via toDataURLWithMultiplier. 2011-09-06 14:03:28 -04:00
kangax
450e571681 Bump version for node publishing. 2011-09-05 21:02:09 -04:00
kangax
8b0e91921c Forgotten update of distribution file. 2011-09-05 20:59:56 -04:00
kangax
3a7d2f0bc3 Make fabric.util.getScript work under Node.js, by using "request + eval" rather than "script element + load event". 2011-09-05 20:52:20 -04:00
kangax
8ea5f0d52c Closes #47. More conforming Function.prototype.bind. 2011-08-29 12:09:32 -04:00
kangax
709348f96f More compliant Array.prototype.indexOf. 2011-08-28 21:28:46 -04:00
kangax
a3d693302c Closes #38. Add support for fabric.Canvas#backgroundImage. 2011-08-28 14:55:33 -04:00
kangax
7e1d38e00c Set dimensions of iframes in svg rendering demo. 2011-08-26 13:13:28 -04:00
kangax
09fd6210b1 "mousemove" event listener on document is now only attached after "mousedown" on canvas. This avoids unnecessary work when moving mouse outside of canvas (especially with multiple canvas instances on a page). 2011-08-26 12:58:01 -04:00
kangax
2deedd02dd Fix regression in rendering with some of the path groups. 2011-08-26 12:54:49 -04:00
kangax
aede6fada9 Fix controls overlapping in kitchensink demo when on smaller "screen" (thanks @hij1nx) 2011-08-22 14:00:04 -04:00
kangax
a56b50f1c1 Bump version. 2011-08-21 16:03:18 -04:00
kangax
36fc1dfafc Build distribution. 2011-08-16 19:06:06 -04:00
kangax
48da79220f Fix fabric parser to workaround o3-xml bug with gEBTN("*") 2011-08-16 19:05:17 -04:00
kangax
2bc0d560c3 Bump version to 0.5.2 2011-08-16 16:12:31 -04:00
kangax
81f2ea9e22 Add .npmignore 2011-08-16 16:11:53 -04:00
kangax
6e9543cb69 Preparing fabric for publishing through npm. Make fabric.createCanvasForNode accept width/height rather than reference to node-canvas, to prevent user from having to instantiate node-canvas instance. Add fabric.Canvas.prototype.createPNGStream which is a simple proxy for node-canvas createPNGStream. 2011-08-16 15:57:07 -04:00
kangax
b53d794af6 [BACK_INCOMPAT] Custom fabric build is now created with node.js and is much more flexible. Sprockets is no longer required to build fabric. Parser and node are now optional modules, which means that parseSVGDocument is no longer included in default fabric build. 2011-08-14 17:35:36 -04:00
kangax
a41fd5dffd Closes #43. fabric.Text#set can now accept object with property/values. 2011-08-12 13:46:17 -04:00
kangax
07d4f7de72 Fix dependency url of node-canvas. Add "times new roman" font. 2011-08-11 15:40:46 -04:00
kangax
4742fd12b0 Update README to mention support for node.js. Add fabric_node.js "module" (which augments some of the fabric methods to use node-specific implementation). 2011-08-11 15:20:06 -04:00
kangax
8f819bb760 Fabric can now run under node.js 2011-08-11 15:18:18 -04:00
kangax
35ad4bf6e3 Preparing fabric to run on node.js 2011-08-05 19:00:26 -04:00
kangax
7e5e9e3ea6 Add demo of SVG rendering, comparing to browser SVG renderer. 2011-08-05 15:46:12 -04:00
kangax
a5b22895e7 canvas.fx --> canvas.animation 2011-08-04 21:00:44 -04:00
kangax
27999a327c Add unit tests for fabric.loadSVGFromString. 2011-08-04 20:48:25 -04:00
kangax
044866cf44 Document fabric.loadSVGFromString. Replace canvas.loadSVGFromURL with fabric.loadSVGFromURL. 2011-08-04 11:05:40 -04:00
kangax
ace016c694 [BACK_INCOMPAT] fabric.Canvas#loadSVGFromURL --> fabric.loadSVGFromURL. Add fabric.loadSVGFromString. 2011-08-04 10:59:32 -04:00
kangax
1c4a755abc Fix titles of demos. Make raphael and fabric "simple shape" benchmark more fair (e.g. do not render borders and corners, since raphael doesn't render them either). 2011-08-02 20:31:43 -04:00
kangax
c57d61b17a Add examples of removing border and/or controls to customization demo. 2011-08-02 20:14:21 -04:00