8#ifndef skgpu_tessellate_MidpointContourParser_DEFINED
9#define skgpu_tessellate_MidpointContourParser_DEFINED
34 , fNumRemainingVerbs(fPath.countVerbs())
36 , fWeights(
SkPathPriv::ConicWeightData(fPath)) {}
40 bool hasGeometry =
false;
41 for (; fVerbsIdx < fNumRemainingVerbs; ++fVerbsIdx) {
42 switch (fVerbs[fVerbsIdx]) {
51 if (fPoints[0] != fPoints[fPtsIdx - 1]) {
53 fMidpoint += fPoints[0];
72 fMidpoint += fPoints[fPtsIdx - 1];
76 if (hasGeometry && fPoints[0] != fPoints[fPtsIdx - 1]) {
78 fMidpoint += fPoints[0];
94 fNumRemainingVerbs -= fVerbsIdx;
104 const uint8_t* fVerbs;
105 int fNumRemainingVerbs = 0;
111 const float* fWeights;
SkPoint currentMidpoint()
MidpointContourParser(const SkPath &path)
SkPathPriv::Iterate currentContour()
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path