add 'c' command, which toggles a semi-complex clip (the pink is what has been
clipped out).
git-svn-id: http://skia.googlecode.com/svn/trunk@781 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index e77562a..5865417 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -667,6 +667,11 @@
this->inval(NULL);
this->updateTitle();
return true;
+ case 'c':
+ fUseClip = !fUseClip;
+ this->inval(NULL);
+ this->updateTitle();
+ return true;
case 'd':
SkGraphics::SetFontCacheUsed(0);
return true;