| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |