[html5] r3045 - [e] (0) note more requests for canvas

whatwg at whatwg.org whatwg at whatwg.org
Thu Apr 30 15:53:52 PDT 2009


Author: ianh
Date: 2009-04-30 15:53:52 -0700 (Thu, 30 Apr 2009)
New Revision: 3045

Modified:
   index
   source
Log:
[e] (0) note more requests for canvas

Modified: index
===================================================================
--- index	2009-04-30 19:09:07 UTC (rev 3044)
+++ index	2009-04-30 22:53:52 UTC (rev 3045)
@@ -22545,7 +22545,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);
@@ -23071,6 +23076,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

Modified: source
===================================================================
--- source	2009-04-30 19:09:07 UTC (rev 3044)
+++ source	2009-04-30 22:53:52 UTC (rev 3045)
@@ -24595,7 +24595,12 @@
   // state
   void <span title="dom-context-2d-save">save</span>(); // push state on state stack
   void <span title="dom-context-2d-restore">restore</span>(); // 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 <span title="dom-context-2d-scale">scale</span>(in float x, in float y);
   void <span title="dom-context-2d-rotate">rotate</span>(in float angle);
@@ -25204,6 +25209,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




More information about the Commit-Watchers mailing list