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

Side by Side Diff: src/core/SkClipStack.cpp

Issue 351833003: add path dump test (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: generate a single line feed (or none if empty) Created 6 years, 5 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 unified diff | Download patch
« no previous file with comments | « include/core/SkPath.h ('k') | src/core/SkPath.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkCanvas.h" 8 #include "SkCanvas.h"
9 #include "SkClipStack.h" 9 #include "SkClipStack.h"
10 #include "SkPath.h" 10 #include "SkPath.h"
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 break; 884 break;
885 case kRect_Type: 885 case kRect_Type:
886 this->getRect().dump(); 886 this->getRect().dump();
887 SkDebugf("\n"); 887 SkDebugf("\n");
888 break; 888 break;
889 case kRRect_Type: 889 case kRRect_Type:
890 this->getRRect().dump(); 890 this->getRRect().dump();
891 SkDebugf("\n"); 891 SkDebugf("\n");
892 break; 892 break;
893 case kPath_Type: 893 case kPath_Type:
894 this->getPath().dump(true); 894 this->getPath().dump(NULL, true);
895 break; 895 break;
896 } 896 }
897 } 897 }
898 898
899 void SkClipStack::dump() const { 899 void SkClipStack::dump() const {
900 B2TIter iter(*this); 900 B2TIter iter(*this);
901 const Element* e; 901 const Element* e;
902 while ((e = iter.next())) { 902 while ((e = iter.next())) {
903 e->dump(); 903 e->dump();
904 SkDebugf("\n"); 904 SkDebugf("\n");
905 } 905 }
906 } 906 }
907 #endif 907 #endif
OLDNEW
« no previous file with comments | « include/core/SkPath.h ('k') | src/core/SkPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698