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

Side by Side Diff: tests/PathTest.cpp

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-07 (Tuesday) 11:28:42 EDT Created 4 years, 6 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 | « tests/PathCoverageTest.cpp ('k') | tests/SubsetPath.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 <cmath> 8 #include <cmath>
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkGeometry.h" 10 #include "SkGeometry.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 SkPath path; 173 SkPath path;
174 procs[i](&path); 174 procs[i](&path);
175 175
176 SkRegion rgn; 176 SkRegion rgn;
177 rgn.setPath(path, clip); 177 rgn.setPath(path, clip);
178 path.toggleInverseFillType(); 178 path.toggleInverseFillType();
179 rgn.setPath(path, clip); 179 rgn.setPath(path, clip);
180 } 180 }
181 } 181 }
182 182
183 #if defined(WIN32) 183 #ifdef SK_BUILD_FOR_WIN
184 #define SUPPRESS_VISIBILITY_WARNING 184 #define SUPPRESS_VISIBILITY_WARNING
185 #else 185 #else
186 #define SUPPRESS_VISIBILITY_WARNING __attribute__((visibility("hidden"))) 186 #define SUPPRESS_VISIBILITY_WARNING __attribute__((visibility("hidden")))
187 #endif 187 #endif
188 188
189 static void test_path_close_issue1474(skiatest::Reporter* reporter) { 189 static void test_path_close_issue1474(skiatest::Reporter* reporter) {
190 // This test checks that r{Line,Quad,Conic,Cubic}To following a close() 190 // This test checks that r{Line,Quad,Conic,Cubic}To following a close()
191 // are relative to the point we close to, not relative to the point we close from. 191 // are relative to the point we close to, not relative to the point we close from.
192 SkPath path; 192 SkPath path;
193 SkPoint last; 193 SkPoint last;
(...skipping 4118 matching lines...) Expand 10 before | Expand all | Expand 10 after
4312 PathTest_Private::TestPathTo(reporter); 4312 PathTest_Private::TestPathTo(reporter);
4313 PathRefTest_Private::TestPathRef(reporter); 4313 PathRefTest_Private::TestPathRef(reporter);
4314 PathTest_Private::TestPathrefListeners(reporter); 4314 PathTest_Private::TestPathrefListeners(reporter);
4315 test_dump(reporter); 4315 test_dump(reporter);
4316 test_path_crbug389050(reporter); 4316 test_path_crbug389050(reporter);
4317 test_path_crbugskia2820(reporter); 4317 test_path_crbugskia2820(reporter);
4318 test_skbug_3469(reporter); 4318 test_skbug_3469(reporter);
4319 test_skbug_3239(reporter); 4319 test_skbug_3239(reporter);
4320 test_bounds_crbug_513799(reporter); 4320 test_bounds_crbug_513799(reporter);
4321 } 4321 }
OLDNEW
« no previous file with comments | « tests/PathCoverageTest.cpp ('k') | tests/SubsetPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698