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

Side by Side Diff: src/utils/debugger/SkDebugCanvas.cpp

Issue 1051113005: Remove now-redundant SkPathOps enum. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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/pathops/SkPathOps.h ('k') | no next file » | 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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "SkColorPriv.h" 10 #include "SkColorPriv.h"
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 } 557 }
558 558
559 static const char* gFillTypeStrs[] = { 559 static const char* gFillTypeStrs[] = {
560 "kWinding_FillType", 560 "kWinding_FillType",
561 "kEvenOdd_FillType", 561 "kEvenOdd_FillType",
562 "kInverseWinding_FillType", 562 "kInverseWinding_FillType",
563 "kInverseEvenOdd_FillType" 563 "kInverseEvenOdd_FillType"
564 }; 564 };
565 565
566 static const char* gOpStrs[] = { 566 static const char* gOpStrs[] = {
567 "kDifference_PathOp", 567 "kDifference_SkPathOp",
568 "kIntersect_PathOp", 568 "kIntersect_SkPathOp",
569 "kUnion_PathOp", 569 "kUnion_SkPathOp",
570 "kXor_PathOp", 570 "kXor_PathOp",
571 "kReverseDifference_PathOp", 571 "kReverseDifference_SkPathOp",
572 }; 572 };
573 573
574 static const char kHTML4SpaceIndent[] = "    "; 574 static const char kHTML4SpaceIndent[] = "    ";
575 575
576 void SkDebugCanvas::outputScalar(SkScalar num) { 576 void SkDebugCanvas::outputScalar(SkScalar num) {
577 if (num == (int) num) { 577 if (num == (int) num) {
578 fClipStackData.appendf("%d", (int) num); 578 fClipStackData.appendf("%d", (int) num);
579 } else { 579 } else {
580 SkString str; 580 SkString str;
581 str.printf("%1.9g", num); 581 str.printf("%1.9g", num);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 } 673 }
674 674
675 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) { 675 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) {
676 if (fCalledAddStackData) { 676 if (fCalledAddStackData) {
677 fClipStackData.appendf("<br>"); 677 fClipStackData.appendf("<br>");
678 addPathData(devPath, "pathOut"); 678 addPathData(devPath, "pathOut");
679 return true; 679 return true;
680 } 680 }
681 return false; 681 return false;
682 } 682 }
OLDNEW
« no previous file with comments | « include/pathops/SkPathOps.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698