|
SkPath::Direction serves two masters:
- input param to addFoo (e.g. addRect), where only CW or CCW are valid)
- output param from computing functions, that sometimes return kUnknown
This CL's intent is to split these into distinct enums/features:
- Direction (public) loses kUnknown, and is only used for input
- FirstDirection (private) is used for computing the first direction we see when analyzing a contour
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/026beb52a29a620290fcfb24f1e7e9e75547b80f
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+289 lines, -259 lines) |
Patch |
|
M |
gm/convex_all_line_paths.cpp
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
gm/strokefill.cpp
|
View
|
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
include/core/SkPath.h
|
View
|
|
12 chunks |
+9 lines, -50 lines |
0 comments
|
Download
|
|
M |
src/core/SkPath.cpp
|
View
|
|
24 chunks |
+50 lines, -48 lines |
1 comment
|
Download
|
|
A |
src/core/SkPathPriv.h
|
View
|
1
|
1 chunk |
+60 lines, -0 lines |
2 comments
|
Download
|
|
M |
src/core/SkRecords.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/core/SkStroke.cpp
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrAAConvexPathRenderer.cpp
|
View
|
|
7 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrAAHairLinePathRenderer.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrPathUtils.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrPathUtils.cpp
|
View
|
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConvexPolyEffect.cpp
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/pathops/SkOpBuilder.cpp
|
View
|
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
tests/PathTest.cpp
|
View
|
1
|
39 chunks |
+121 lines, -116 lines |
0 comments
|
Download
|
Total messages: 15 (4 generated)
|