Home
last modified time | relevance | path

Searched refs:SkPathFirstDirection (Results 1 - 17 of 17) sorted by relevance

/third_party/skia/src/pathops/
H A DSkOpBuilder.cpp46 SkPathFirstDirection dir = SkPathPriv::ComputeFirstDirection(*path); in FixWinding()
47 if (dir != SkPathFirstDirection::kUnknown) { in FixWinding()
48 if (dir == SkPathFirstDirection::kCW) { in FixWinding()
132 SkPathFirstDirection firstDir = SkPathFirstDirection::kUnknown; in resolve()
141 SkPathFirstDirection dir = SkPathPriv::ComputeFirstDirection(*test); in resolve()
142 if (dir == SkPathFirstDirection::kUnknown) { in resolve()
146 if (firstDir == SkPathFirstDirection::kUnknown) { in resolve()
/third_party/skia/src/core/
H A DSkPathPriv.h31 static SkPathFirstDirection AsFirstDirection(SkPathDirection dir) { in AsFirstDirection()
33 return (SkPathFirstDirection)dir; in AsFirstDirection()
40 static SkPathFirstDirection OppositeFirstDirection(SkPathFirstDirection dir) { in OppositeFirstDirection()
41 static const SkPathFirstDirection gOppositeDir[] = { in OppositeFirstDirection()
42 SkPathFirstDirection::kCCW, SkPathFirstDirection::kCW, SkPathFirstDirection::kUnknown, in OppositeFirstDirection()
53 static SkPathFirstDirection ComputeFirstDirection(const SkPath&);
H A DSkPath.cpp70 fSaved = static_cast<SkPathFirstDirection>(fPath->getFirstDirection()); in SkAutoDisableDirectionCheck()
79 SkPathFirstDirection fSaved;
153 SkPathFirstDirection firstDirection) in SkPath()
167 this->setFirstDirection(SkPathFirstDirection::kUnknown); in resetFields()
230 SkPathFirstDirection fd = this->getFirstDirection(); in swap()
260 SkPathFirstDirection dir) { in check_edge_against_rect()
263 if (SkPathFirstDirection::kCW == dir) { in check_edge_against_rect()
289 SkPathFirstDirection direction = SkPathPriv::ComputeFirstDirection(*this); in conservativelyContainsRect()
290 if (direction == SkPathFirstDirection::kUnknown) { in conservativelyContainsRect()
560 void SkPath::setFirstDirection(SkPathFirstDirection in setConvexity()
[all...]
H A DSkPath_serial.cpp77 int firstDir = isCCW ? (int)SkPathFirstDirection::kCCW : (int)SkPathFirstDirection::kCW; in writeToMemoryAsRRect()
177 case (int)SkPathFirstDirection::kCW: in readAsRRect()
180 case (int)SkPathFirstDirection::kCCW: in readAsRRect()
H A DSkPathBuilder.cpp189 SkPathFirstDirection dir = SkPathFirstDirection::kUnknown; in make()
195 dir = fIsACCW ? SkPathFirstDirection::kCCW : SkPathFirstDirection::kCW; in make()
200 dir = fIsACCW ? SkPathFirstDirection::kCCW : SkPathFirstDirection::kCW; in make()
H A DSkStroke.cpp1507 if (SkPathPriv::ComputeFirstDirection(src) == SkPathFirstDirection::kCCW) {
/third_party/skia/tests/
H A DPathTest.cpp1051 const SkPathFirstDirection kDontCheckDir = static_cast<SkPathFirstDirection>(3);
1054 SkPathFirstDirection expected) { in check_direction()
1061 SkPathFirstDirection dir = SkPathPriv::ComputeFirstDirection(copy); in check_direction()
1062 if (dir != SkPathFirstDirection::kUnknown) { in check_direction()
1071 SkPathPriv::ComputeFirstDirection(path) == SkPathFirstDirection::kUnknown); in test_direction()
1086 SkPathPriv::ComputeFirstDirection(path) == SkPathFirstDirection::kUnknown); in test_direction()
1102 check_direction(reporter, path, SkPathFirstDirection::kCW); in test_direction()
1118 check_direction(reporter, path, SkPathFirstDirection::kCCW); in test_direction()
1126 check_direction(reporter, path, SkPathFirstDirection in test_direction()
[all...]
/third_party/skia/src/effects/
H A DSkOpPathEffect.cpp192 return (a_dir == SkPathFirstDirection::kCCW && in known_to_be_opposite_directions()
193 b_dir == SkPathFirstDirection::kCW) in known_to_be_opposite_directions()
195 (a_dir == SkPathFirstDirection::kCW && in known_to_be_opposite_directions()
196 b_dir == SkPathFirstDirection::kCCW); in known_to_be_opposite_directions()
/third_party/skia/src/gpu/effects/
H A DGrConvexPolyEffect.cpp23 SkPathFirstDirection dir = SkPathPriv::ComputeFirstDirection(path); in Make()
27 if (dir == SkPathFirstDirection::kUnknown) { in Make()
62 if (SkPathFirstDirection::kCCW == dir) { in Make()
/third_party/skia/src/gpu/geometry/
H A DGrPathUtils.cpp287 SkPathFirstDirection dir, in is_point_within_cubic_tangents()
291 if (SkPathFirstDirection::kCW == dir) { in is_point_within_cubic_tangents()
296 SkASSERT(SkPathFirstDirection::kCCW == dir); in is_point_within_cubic_tangents()
304 if (SkPathFirstDirection::kCW == dir) { in is_point_within_cubic_tangents()
309 SkASSERT(SkPathFirstDirection::kCCW == dir); in is_point_within_cubic_tangents()
384 SkPathFirstDirection dir, in convert_noninflect_cubic_to_quads_with_constraint()
534 SkPathFirstDirection dir, in convertCubicToQuadsConstrainToTangents()
H A DGrPathUtils.h133 SkPathFirstDirection dir,
H A DGrStyledShape.h206 SkPathPriv::ComputeFirstDirection(fShape.path()) != SkPathFirstDirection::kUnknown; in knownDirection()
/third_party/skia/gm/
H A Dstrokefill.cpp306 SkASSERT(SkPathPriv::ComputeFirstDirection(path2) == SkPathFirstDirection::kCCW); in DEF_SIMPLE_GM_BG_NAME()
309 SkASSERT(SkPathPriv::ComputeFirstDirection(path2) == SkPathFirstDirection::kUnknown); in DEF_SIMPLE_GM_BG_NAME()
311 SkASSERT(SkPathPriv::ComputeFirstDirection(path2) == SkPathFirstDirection::kCW); in DEF_SIMPLE_GM_BG_NAME()
335 SkASSERT(SkPathPriv::ComputeFirstDirection(path4) == SkPathFirstDirection::kUnknown); in DEF_SIMPLE_GM_BG_NAME()
337 SkASSERT(SkPathPriv::ComputeFirstDirection(path4) == SkPathFirstDirection::kCCW); in DEF_SIMPLE_GM_BG_NAME()
344 SkASSERT(SkPathPriv::ComputeFirstDirection(path4) == SkPathFirstDirection::kUnknown); in DEF_SIMPLE_GM_BG_NAME()
346 SkASSERT(SkPathPriv::ComputeFirstDirection(path4) == SkPathFirstDirection::kCW); in DEF_SIMPLE_GM_BG_NAME()
H A Dconvex_all_line_paths.cpp261 SkPathFirstDirection actualDir = SkPathPriv::ComputeFirstDirection(path); in GetPath()
/third_party/skia/src/gpu/ops/
H A DAAConvexPathRenderer.cpp121 SkPathFirstDirection dir, in compute_vectors()
131 if (dir == SkPathFirstDirection::kCCW) { in compute_vectors()
226 inline bool get_direction(const SkPath& path, const SkMatrix& m, SkPathFirstDirection* dir) { in get_direction()
232 if (*dir == SkPathFirstDirection::kUnknown) { in get_direction()
267 SkPathFirstDirection dir, in add_cubic_segments()
292 SkPathFirstDirection dir; in get_segments()
/third_party/skia/include/core/
H A DSkPath.h1773 SkPathFirstDirection firstDirection);
1778 mutable std::atomic<uint8_t> fFirstDirection; // SkPathFirstDirection
1854 void setFirstDirection(SkPathFirstDirection) const;
1855 SkPathFirstDirection getFirstDirection() const;
/third_party/skia/include/private/
H A DSkPathRef.h35 enum class SkPathFirstDirection { class

Completed in 24 milliseconds