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

Unified Diff: gm/gradients.cpp

Issue 18552005: Animated the PathUtils Sample to show path contours (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Added function pointers to sample to reduce code in OnDrawContent method. Created 7 years, 6 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 | « no previous file | gm/nate_gradients.cpp » ('j') | gm/nate_gradients.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gradients.cpp
diff --git a/gm/gradients.cpp b/gm/gradients.cpp
index 97f8fdaca8b5813b06ae010fddf4dda8f1113fa4..164a6a5232280f3616ec2a3d7274bbc7afaf9061 100644
--- a/gm/gradients.cpp
+++ b/gm/gradients.cpp
@@ -17,7 +17,7 @@ struct GradData {
};
static const SkColor gColors[] = {
- SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK
+ SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
};
static const SkScalar gPos0[] = { 0, SK_Scalar1 };
static const SkScalar gPos1[] = { SK_Scalar1/4, SK_Scalar1*3/4 };
« no previous file with comments | « no previous file | gm/nate_gradients.cpp » ('j') | gm/nate_gradients.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698