Commit Graph

16 Commits

Author SHA1 Message Date
683742bfbe renamed html2canvas.log to h2clog (minifies better)
renamed the html2canvas.canvasContext to h2cRenderContext,
it's used by both backends and thus not canvas specific
2012-02-26 22:57:22 +01:00
dd0331fd81 added flashcanvas integration and some legacy IE bug fixes 2012-02-26 00:19:16 +02:00
072e1645cf fix warnings reported by the closure compiler 2012-02-18 23:01:18 +01:00
025097dbbd Merge pull request #31 from cobexer/add-render-canvas-support
add support to render a canvas element to the screenshot
2011-11-26 10:18:37 -08:00
103712083f Merge pull request #33 from cobexer/fix-jpeg-export
clear canvas before rendering to allow jpeg export
2011-11-26 10:17:35 -08:00
f4618270e1 Merge pull request #34 from cobexer/rewrite-image-handling
rewrote image handling from using an array to an object
2011-11-26 10:15:40 -08:00
8287dbc257 rewrote image handling from using an array to an object
The image loading done in Preload.js used an array to store
image src and image object as 2 consecutive entries in that
array. Using the src as an index in a hash allows direct
instead of a linear search and also allows to store more data.

 * improved cleanup of images loaded with the proxy

 * this also adds a timeout for the image loading phase, after that
   running image requests are aborted and the rendering is started
2011-11-26 18:09:25 +01:00
1792269c01 instead of scrolling the view on every Bounds() call, do it only once 2011-11-26 18:06:56 +01:00
d64f62b9b7 make sure the image used for the detection of the underline is positioned correctly 2011-11-26 18:06:55 +01:00
ec5a9ecd0f replaced external image http://html2canvas.hertzen.com/images/8.jpg with data URI 2011-11-26 18:06:55 +01:00
70b3886814 clear canvas before rendering to allow jpeg export
* normally when exporting jpeg any pixel that was transparent
   becomes black, make them white
 * check for window.console.log before use (avoid crash)
 * html2canvas.Parse: fix missing call to html2canvas.Util.Extend for the
   given options
2011-11-26 17:38:57 +01:00
d217bd3603 add support to render a canvas element to the screenshot 2011-11-26 17:34:19 +01:00
4615eb3073 Improve build system: read version from version.txt, fix build without compiler
* read the version from version.txt
 * set default target to build
 * added dependencies to all targets
 * allow the build to run without a local copy of the closure compiler
 * updated license header with @VERSION@ which will be replaced during the build
 * added the license header to all files (that one will be stripped out by the closure compiler)
2011-11-16 00:36:06 +01:00
42b9e57892 Enabled list-style-type's for position inside 2011-09-13 17:25:51 +03:00
008ad63555 Added some support for CSS gradients (by cthackers) 2011-09-12 23:50:43 +03:00
0701d49e76 merged from dev 2011-09-12 21:39:28 +03:00