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
This commit is contained in:
parent
d413445531
commit
fb56a9ee2d
@ -667,6 +667,11 @@ bool SampleWindow::onHandleChar(SkUnichar uni) {
|
|||||||
this->inval(NULL);
|
this->inval(NULL);
|
||||||
this->updateTitle();
|
this->updateTitle();
|
||||||
return true;
|
return true;
|
||||||
|
case 'c':
|
||||||
|
fUseClip = !fUseClip;
|
||||||
|
this->inval(NULL);
|
||||||
|
this->updateTitle();
|
||||||
|
return true;
|
||||||
case 'd':
|
case 'd':
|
||||||
SkGraphics::SetFontCacheUsed(0);
|
SkGraphics::SetFontCacheUsed(0);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user