- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 30 Apr 2009 22:53:59 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv29089 Modified Files: Overview.html Log Message: note more requests for canvas (whatwg r3045) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2204 retrieving revision 1.2205 diff -u -d -r1.2204 -r1.2205 --- Overview.html 30 Apr 2009 19:09:11 -0000 1.2204 +++ Overview.html 30 Apr 2009 22:53:56 -0000 1.2205 @@ -19780,7 +19780,12 @@ // state void <a href="#dom-context-2d-save" title="dom-context-2d-save">save</a>(); // push state on state stack void <a href="#dom-context-2d-restore" title="dom-context-2d-restore">restore</a>(); // pop state stack and restore state - +<!-- + // v4 we've also received requests for: + attribute boolean <span title="dom-context-2d-forceHighQuality">forceHighQuality</span> // (default false) + // when enabled, it would prevent the UA from falling back on lower-quality but faster rendering routines + // useful e.g. for when an image manipulation app uses <canvas> both for UI previews and the actual work +--> // transformations (default transform is the identity matrix) void <a href="#dom-context-2d-scale" title="dom-context-2d-scale">scale</a>(in float x, in float y); void <a href="#dom-context-2d-rotate" title="dom-context-2d-rotate">rotate</a>(in float angle); @@ -20271,6 +20276,14 @@ array[1] += 1; context.fillStyle = array; + * A more performant way of setting colours in general, e.g.: + + context.setFillColor(r,g,b,a) // already supported by webkit + + Or: + + context.fillStyle = 0xRRGGBBAA; // set a 32bit int directly + * fill rule for deciding between winding and even-odd algorithms. SVG has fill-rule: nonzero | evenodd http://www.w3.org/TR/SVG/painting.html#FillProperties
Received on Thursday, 30 April 2009 22:54:09 UTC