Home
last modified time | relevance | path

Searched refs:verbCount (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/src/core/
DSkPathPriv.h56 int verbCount = path.countVerbs(); in IsClosedSingleContour() local
57 if (verbCount == 0) in IsClosedSingleContour()
61 for (int i = 0; i < verbCount; i++) { in IsClosedSingleContour()
70 if (i == verbCount - 1) { in IsClosedSingleContour()
84 int verbCount = path.countVerbs(); in LeadingMoveToCount() local
86 for (int i = 0; i < verbCount; i++) { in LeadingMoveToCount()
91 return verbCount; // path is all move verbs in LeadingMoveToCount()
DSkPath.cpp376 int verbCount = fPathRef->countVerbs(); in isLastContourClosed() local
377 if (0 == verbCount) { in isLastContourClosed()
380 return kClose_Verb == fPathRef->atVerb(verbCount - 1); in isLastContourClosed()
384 int verbCount = fPathRef->countVerbs(); in isLine() local
386 if (2 == verbCount) { in isLine()
3351 SkPathVerbAnalysis sk_path_analyze_verbs(const uint8_t vbs[], int verbCount) { in sk_path_analyze_verbs() argument
3356 for (int i = 0; i < verbCount; ++i) { in sk_path_analyze_verbs()
3397 const uint8_t vbs[], int verbCount, in Make() argument
3400 if (verbCount <= 0) { in Make()
3404 const auto info = sk_path_analyze_verbs(vbs, verbCount); in Make()
[all …]
/third_party/skia/src/pathops/
DSkOpBuilder.cpp17 int verbCount = path.countVerbs(); in one_contour() local
18 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); in one_contour()
19 (void) path.getVerbs(verbs, verbCount); in one_contour()
20 for (int index = 1; index < verbCount; ++index) { in one_contour()
DSkPathOpsAsWinding.cpp208 int verbCount = -1; in nextEdge() local
212 if (++verbCount < contour.fVerbStart) { in nextEdge()
215 if (verbCount >= contour.fVerbEnd) { in nextEdge()
327 int verbCount = 0; in reverseMarkedContours() local
334 for (; iter != iterate.end() && verbCount < contour.fVerbEnd; ++iter, ++verbCount) { in reverseMarkedContours()
DSkOpEdgeBuilder.cpp70 int verbCount = fPathVerbs.count(); in closeContour() local
72 if (SkPath::kLine_Verb == fPathVerbs[verbCount - 1] in closeContour()
/third_party/flutter/skia/src/pathops/
DSkOpBuilder.cpp17 int verbCount = path.countVerbs(); in one_contour() local
18 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); in one_contour()
19 (void) path.getVerbs(verbs, verbCount); in one_contour()
20 for (int index = 1; index < verbCount; ++index) { in one_contour()
DSkPathOpsAsWinding.cpp211 int verbCount = -1; in nextEdge() local
215 if (++verbCount < contour.fVerbStart) { in nextEdge()
218 if (verbCount >= contour.fVerbEnd) { in nextEdge()
329 int verbCount = 0; in reverseMarkedContours() local
359 } while (++verbCount < contour.fVerbEnd); in reverseMarkedContours()
DSkOpEdgeBuilder.cpp66 int verbCount = fPathVerbs.count(); in closeContour() local
68 if (SkPath::kLine_Verb == fPathVerbs[verbCount - 1] in closeContour()
/third_party/skia/tests/
DSubsetPath.cpp150 int verbCount = 0; in SubsetVerbs() local
159 ++verbCount; in SubsetVerbs()
168 for (int index = 0; index < verbCount; ++index) { in SubsetVerbs()
171 fTries = verbCount; in SubsetVerbs()
/third_party/flutter/skia/src/core/
DSkPathPriv.h65 int verbCount = path.countVerbs(); in IsClosedSingleContour() local
66 if (verbCount == 0) in IsClosedSingleContour()
70 for (int i = 0; i < verbCount; i++) { in IsClosedSingleContour()
79 if (i == verbCount - 1) { in IsClosedSingleContour()
DSkPathRef.cpp62 int verbCount = fPathRef->fVerbCnt; in shrinkToFit() local
65 size_t vrbSize = sizeof(uint8_t) * verbCount; in shrinkToFit()
333 int32_t verbCount, pointCount, conicCount; in CreateFromBuffer() local
335 !buffer->readS32(&verbCount) || (verbCount < 0) || in CreateFromBuffer()
348 size_t verbSize = verbCount * sizeof(uint8_t); in CreateFromBuffer()
362 ref->resetToSize(verbCount, pointCount, conicCount); in CreateFromBuffer()
363 SkASSERT(verbCount == ref->countVerbs()); in CreateFromBuffer()
DSkPath.cpp405 int verbCount = fPathRef->countVerbs(); in isLastContourClosed() local
406 if (0 == verbCount) { in isLastContourClosed()
409 return kClose_Verb == fPathRef->atVerb(verbCount - 1); in isLastContourClosed()
413 int verbCount = fPathRef->countVerbs(); in isLine() local
415 if (2 == verbCount) { in isLine()
/third_party/flutter/skia/tests/
DSubsetPath.cpp158 int verbCount = 0; in SubsetVerbs() local
167 ++verbCount; in SubsetVerbs()
176 for (int index = 0; index < verbCount; ++index) { in SubsetVerbs()
179 fTries = verbCount; in SubsetVerbs()
/third_party/flutter/skia/include/private/
DSkPathRef.h402 void resetToSize(int verbCount, int pointCount, int conicCount,
413 size_t newSize = sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount;
427 fVerbCnt = verbCount;
432 fVerbCnt = verbCount;
/third_party/skia/include/private/
DSkPathRef.h421 void resetToSize(int verbCount, int pointCount, int conicCount,
434 fVerbs.setReserve(verbCount + reserveVerbs);
435 fVerbs.setCount(verbCount);
/third_party/flutter/skia/tools/fonts/
Dcreate_test_font.cpp212 int verbCount = verbs.count(); in output_font() local
214 for (int index = 0; index < verbCount;) { in output_font()
219 if (++index < verbCount) { in output_font()
/third_party/skia/tools/fonts/
Dcreate_test_font.cpp209 int verbCount = verbs.count(); in output_font() local
211 for (int index = 0; index < verbCount;) { in output_font()
216 if (++index < verbCount) { in output_font()
/third_party/skia/include/core/
DSkPath.h66 const uint8_t[], int verbCount,