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

Side by Side Diff: src/pathops/SkPathOpsTCubicSect.cpp

Issue 1002693002: pathops version two (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix arm 64 inspired coincident handling Created 5 years, 9 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 | « src/pathops/SkPathOpsSimplify.cpp ('k') | src/pathops/SkPathOpsTQuadSect.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 2014 Google Inc. 2 * Copyright 2014 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 "SkPathOpsTSect.h" 8 #include "SkPathOpsTSect.h"
9 9
10 int SkIntersections::intersectB(const SkDCubic& cubic1, const SkDCubic& cubic2) { 10 int SkIntersections::intersect(const SkDCubic& cubic1, const SkDCubic& cubic2) {
11 SkTSect<SkDCubic> sect1(cubic1 PATH_OPS_DEBUG_PARAMS(1)); 11 SkTSect<SkDCubic> sect1(cubic1 PATH_OPS_DEBUG_T_SECT_PARAMS(1));
12 SkTSect<SkDCubic> sect2(cubic2 PATH_OPS_DEBUG_PARAMS(2)); 12 SkTSect<SkDCubic> sect2(cubic2 PATH_OPS_DEBUG_T_SECT_PARAMS(2));
13 SkTSect<SkDCubic>::BinarySearch(&sect1, &sect2, this); 13 SkTSect<SkDCubic>::BinarySearch(&sect1, &sect2, this);
14 return used(); 14 return used();
15 } 15 }
OLDNEW
« no previous file with comments | « src/pathops/SkPathOpsSimplify.cpp ('k') | src/pathops/SkPathOpsTQuadSect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698