OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 "SkClipStack.h" | 8 #include "SkClipStack.h" |
9 #include "SkDebugCanvas.h" | 9 #include "SkDebugCanvas.h" |
10 #include "SkDrawCommand.h" | 10 #include "SkDrawCommand.h" |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 } | 615 } |
616 | 616 |
617 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) { | 617 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) { |
618 if (fCalledAddStackData) { | 618 if (fCalledAddStackData) { |
619 fClipStackData.appendf("<br>"); | 619 fClipStackData.appendf("<br>"); |
620 addPathData(devPath, "pathOut"); | 620 addPathData(devPath, "pathOut"); |
621 return true; | 621 return true; |
622 } | 622 } |
623 return false; | 623 return false; |
624 } | 624 } |
OLD | NEW |