Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: experimental/SkV8Example/path.js

Issue 122373003: Add the gears.js demo and all the code changes needed to get it working, including (Closed) Base URL: https://skia.googlesource.com/skia.git@gl
Patch Set: rename Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/SkV8Example/gears.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/SkV8Example/path.js
diff --git a/experimental/SkV8Example/path.js b/experimental/SkV8Example/path.js
index a7b2c28d46078acd2c779c381c75b0b8d11d1b38..8231cb4a367b9879cabef362738f328a49369177 100644
--- a/experimental/SkV8Example/path.js
+++ b/experimental/SkV8Example/path.js
@@ -11,7 +11,7 @@ var onDraw = function(){
function f(context) {
context.translate(10, 10);
for (var i=0; i<256; i++) {
- context.fillStyle = '#0000' + toHex(i);
+ context.strokeStyle = '#0000' + toHex(i);
context.stroke(p);
context.translate(1, 0);
}
@@ -19,7 +19,6 @@ var onDraw = function(){
print(context.width, context.height);
context.resetTransform();
context.fillRect(context.width/2, context.height/2, 20, 20);
-
};
return f;
}();
« no previous file with comments | « experimental/SkV8Example/gears.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698