Home
last modified time | relevance | path

Searched refs:kLine_Verb (Results 1 – 25 of 123) sorted by relevance

12345

/external/skqp/src/pathops/
DSkOpEdgeBuilder.cpp36 return SkPath::kLine_Verb != verb || !SkDPoint::ApproximatelyEqual(curve[0], curve[1]); in can_add_curve()
63 *fPathVerbs.append() = SkPath::kLine_Verb; in closeContour()
68 if (SkPath::kLine_Verb == fPathVerbs[verbCount - 1] in closeContour()
103 case SkPath::kLine_Verb: in preFetch()
107 if (lastVerb != SkPath::kLine_Verb && lastVerb != SkPath::kMove_Verb) { in preFetch()
205 case SkPath::kLine_Verb: in walk()
226 SkPoint* curve1 = v1 != SkPath::kLine_Verb ? &pair[0] : cStorage[0]; in walk()
227 SkPoint* curve2 = v2 != SkPath::kLine_Verb ? &pair[2] : cStorage[1]; in walk()
256 SkPoint* curve1 = v1 != SkPath::kLine_Verb ? pair[0].fPts : cStorage[0]; in walk()
257 SkPoint* curve2 = v2 != SkPath::kLine_Verb ? pair[1].fPts : cStorage[1]; in walk()
DSkPathOpsAsWinding.cpp105 SkASSERT(SkPath::kLine_Verb <= verb && verb <= SkPath::kCubic_Verb); in left_edge()
110 if (SkPath::kLine_Verb == verb) { in left_edge()
195 if (SkPath::kLine_Verb <= verb && verb <= SkPath::kCubic_Verb) { in contourBounds()
221 if (SkPath::kLine_Verb > verb || verb > SkPath::kCubic_Verb) { in nextEdge()
339 case SkPath::kLine_Verb: in reverseMarkedContours()
DSkIntersectionHelper.h23 kLine_Segment = SkPath::kLine_Verb,
/external/skia/src/pathops/
DSkOpEdgeBuilder.cpp40 return SkPath::kLine_Verb != verb || !SkDPoint::ApproximatelyEqual(curve[0], curve[1]); in can_add_curve()
67 *fPathVerbs.append() = SkPath::kLine_Verb; in closeContour()
72 if (SkPath::kLine_Verb == fPathVerbs[verbCount - 1] in closeContour()
104 case SkPath::kLine_Verb: in preFetch()
108 if (lastVerb != SkPath::kLine_Verb && lastVerb != SkPath::kMove_Verb) { in preFetch()
199 case SkPath::kLine_Verb: in walk()
220 SkPoint* curve1 = v1 != SkPath::kLine_Verb ? &pair[0] : cStorage[0]; in walk()
221 SkPoint* curve2 = v2 != SkPath::kLine_Verb ? &pair[2] : cStorage[1]; in walk()
250 SkPoint* curve1 = v1 != SkPath::kLine_Verb ? pair[0].fPts : cStorage[0]; in walk()
251 SkPoint* curve2 = v2 != SkPath::kLine_Verb ? pair[1].fPts : cStorage[1]; in walk()
DSkIntersectionHelper.h23 kLine_Segment = SkPath::kLine_Verb,
DSkPathOpsAsWinding.cpp106 SkASSERT(SkPath::kLine_Verb <= verb && verb <= SkPath::kCubic_Verb); in left_edge()
111 if (SkPath::kLine_Verb == verb) { in left_edge()
218 if (SkPath::kLine_Verb > verb || verb > SkPath::kCubic_Verb) { in nextEdge()
/external/skqp/tests/
DSubsetPath.cpp73 case SkPath::kLine_Verb: in SubsetContours()
115 case SkPath::kLine_Verb: in getSubsetPath()
163 case SkPath::kLine_Verb: in SubsetVerbs()
195 bool enabled = SkPath::kLine_Verb <= verb && verb <= SkPath::kCubic_Verb in getSubsetPath()
209 case SkPath::kLine_Verb: in getSubsetPath()
DPathTest.cpp988 case SkPath::kLine_Verb: in test_poly()
2281 case SkPath::kLine_Verb: in test_is_simple_closed_rect()
2801 static const SkPath::Verb resultVerbs5[] = { SkPath::kMove_Verb, SkPath::kLine_Verb }; in test_zero_length_paths()
2802 …erb resultVerbs6[] = { SkPath::kMove_Verb, SkPath::kLine_Verb, SkPath::kMove_Verb, SkPath::kLine_V… in test_zero_length_paths()
2803 …static const SkPath::Verb resultVerbs7[] = { SkPath::kMove_Verb, SkPath::kLine_Verb, SkPath::kClos… in test_zero_length_paths()
2805 …SkPath::kMove_Verb, SkPath::kLine_Verb, SkPath::kClose_Verb, SkPath::kMove_Verb, SkPath::kLine_Ver… in test_zero_length_paths()
2925 SkPath::kMove_Verb, SkPath::kLine_Verb, SkPath::kLine_Verb, SkPath::kDone_Verb in test_iter()
2928 …SkPath::kMove_Verb, SkPath::kLine_Verb, SkPath::kLine_Verb, SkPath::kLine_Verb, SkPath::kClose_Ver… in test_iter()
2931 …SkPath::kMove_Verb, SkPath::kLine_Verb, SkPath::kMove_Verb, SkPath::kClose_Verb, SkPath::kDone_Verb in test_iter()
2934 …SkPath::kMove_Verb, SkPath::kLine_Verb, SkPath::kClose_Verb, SkPath::kMove_Verb, SkPath::kClose_Ve… in test_iter()
[all …]
DPathOpsAsWindingTest.cpp16 case SkPath::kLine_Verb: in build_squircle()
161 for (auto curveA : { SkPath::kLine_Verb, SkPath::kQuad_Verb, in DEF_TEST()
164 for (auto curveB : { SkPath::kLine_Verb, SkPath::kQuad_Verb, in DEF_TEST()
/external/skia/tests/
DPathTest.cpp2809 static const SkPath::Verb resultVerbs5[] = { SkPath::kMove_Verb, SkPath::kLine_Verb }; in test_zero_length_paths()
2810 …erb resultVerbs6[] = { SkPath::kMove_Verb, SkPath::kLine_Verb, SkPath::kMove_Verb, SkPath::kLine_V… in test_zero_length_paths()
2811 …static const SkPath::Verb resultVerbs7[] = { SkPath::kMove_Verb, SkPath::kLine_Verb, SkPath::kClos… in test_zero_length_paths()
2813 …SkPath::kMove_Verb, SkPath::kLine_Verb, SkPath::kClose_Verb, SkPath::kMove_Verb, SkPath::kLine_Ver… in test_zero_length_paths()
2932 …SkPath::kMove_Verb, SkPath::kLine_Verb, SkPath::kMove_Verb, SkPath::kClose_Verb, SkPath::kDone_Verb in test_iter()
2935 …SkPath::kMove_Verb, SkPath::kLine_Verb, SkPath::kClose_Verb, SkPath::kMove_Verb, SkPath::kClose_Ve… in test_iter()
3034 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == iter.next(pts)); in test_iter()
3036 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == iter.next(pts)); in test_iter()
3963 REPORTER_ASSERT(reporter, verbs[1] == SkPath::kLine_Verb); in test_addPathMode()
3964 REPORTER_ASSERT(reporter, verbs[2] == (extend ? SkPath::kLine_Verb : SkPath::kMove_Verb)); in test_addPathMode()
[all …]
DPathOpsAsWindingTest.cpp16 case SkPath::kLine_Verb: in build_squircle()
161 for (auto curveA : { SkPath::kLine_Verb, SkPath::kQuad_Verb, in DEF_TEST()
164 for (auto curveB : { SkPath::kLine_Verb, SkPath::kQuad_Verb, in DEF_TEST()
/external/skia/samplecode/
DSampleSimpleStroker.cpp47 fVerbs.push_back(SkPath::kLine_Verb); in lineTo()
150 case SkPath::kLine_Verb: in getFillPath()
313 case SkPath::kLine_Verb: { in appendPathReversed()
330 if (seg.fVerb != SkPath::kLine_Verb) { in unitNormal()
341 SkASSERT(lineSeg.fVerb == SkPath::kLine_Verb); in squaredLineLength()
/external/skqp/samplecode/
DSampleAAGeometry.cpp142 case SkPath::kLine_Verb: in set_path_pt()
167 case SkPath::kLine_Verb: in set_path_pt()
214 case SkPath::kLine_Verb: in add_path_segment()
254 case SkPath::kLine_Verb: in add_path_segment()
292 case SkPath::kLine_Verb: in delete_path_segment()
328 case SkPath::kLine_Verb: in set_path_weight()
353 SkASSERT(SkPath::kLine_Verb <= v && v <= SkPath::kCubic_Verb); in set_path_verb()
362 SkASSERT(SkPath::kLine_Verb <= verb && verb <= SkPath::kCubic_Verb); in set_path_verb()
364 case SkPath::kLine_Verb: in set_path_verb()
388 case SkPath::kLine_Verb: in set_path_verb()
[all …]
/external/skqp/src/core/
DSkEdgeBuilder.cpp290 case SkPath::kLine_Verb: { in buildPoly()
317 case SkPath::kLine_Verb: { in buildPoly()
362 case SkPath::kLine_Verb: this->addLine (pts); break; in build()
377 case SkPath::kLine_Verb: in build()
423 case SkPath::kLine_Verb: in build()
DSkPathRef.cpp261 case SkPath::kLine_Verb: in validate_verb_sequence()
292 case SkPath::kLine_Verb: in deduce_pts_conics()
529 case SkPath::kLine_Verb: mask |= SkPath::kLine_SegmentMask; break; in computeSegmentMask()
565 case SkPath::kLine_Verb: in growForRepeatedVerb()
637 case SkPath::kLine_Verb: in growForVerb()
770 SkASSERT((verb == SkPath::kLine_Verb in getRRect()
826 case SkPath::kLine_Verb: in next()
DSkPath.cpp322 case kLine_Verb: in conservativelyContainsRect()
411 if (kLine_Verb == fPathRef->atVerb(1)) { in isLine()
498 case kLine_Verb: { in isRectContour()
529 if (3 == corners && kLine_Verb == verb) { in isRectContour()
818 ed.growForVerb(kLine_Verb)->set(x, y); in lineTo()
916 case kLine_Verb: in close()
1075 SkPoint* p = ed.growForRepeatedVerb(kLine_Verb, count - 1); in addPoly()
1239 if (*verbs == kLine_Verb || in hasOnlyMoveTos()
1631 case kLine_Verb: in addPath()
1693 case kLine_Verb: in reversePathTo()
[all …]
/external/skia/src/effects/
DSkCornerPathEffect.cpp63 if (SkPath::kLine_Verb == prevVerb) { in onFilterPath()
75 case SkPath::kLine_Verb: { in onFilterPath()
/external/skqp/src/effects/
DSkCornerPathEffect.cpp63 if (SkPath::kLine_Verb == prevVerb) { in onFilterPath()
75 case SkPath::kLine_Verb: { in onFilterPath()
/external/skqp/src/gpu/gl/
DGrGLPath.cpp24 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb); in verb_to_gl_path_cmd()
45 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb); in num_coords()
124 case SkPath::kLine_Verb: in init_path_object_for_general_path()
/external/skia/docs/examples/
DPath_arcTo_2_c.cpp18 case SkPath::kLine_Verb: in draw()
DPath_Iter_isCloseLine.cpp16 SkDebugf("3rd verb is " "%s" "line\n", SkPath::kLine_Verb == iter.next(p) ? "" : "not "); in draw()
DPath_arcTo_3.cpp18 case SkPath::kLine_Verb: in draw()
/external/skia/src/gpu/tessellate/
DGrMidpointContourParser.h48 case SkPath::kLine_Verb: in parseNextContour()
/external/skia/src/core/
DSkPath.cpp386 if (kLine_Verb == fPathRef->atVerb(1)) { in isLine()
654 ed.growForVerb(kLine_Verb)->set(x, y); in lineTo()
749 case kLine_Verb: in close()
821 SkPoint* p = ed.growForRepeatedVerb(kLine_Verb, count - 1); in addPoly()
990 if (*verbs == kLine_Verb || in hasOnlyMoveTos()
1459 case kLine_Verb: in reversePathTo()
1515 case kLine_Verb: in reverseAddPath()
1593 case kLine_Verb: in transform()
1742 return kLine_Verb; in autoClose()
1755 if (kLine_Verb == this->autoClose(ptsParam)) { in next()
[all …]
DSkPathRef.cpp375 case SkPath::kLine_Verb: in growForRepeatedVerb()
428 case SkPath::kLine_Verb: in growForVerb()
534 SkASSERT((verb == SkPath::kLine_Verb in getRRect()
594 case SkPath::kLine_Verb: in next()

12345