Home
last modified time | relevance | path

Searched refs:fVerb (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/src/pathops/
DSkOpEdgeBuilder.cpp277 SkPath::Verb fVerb; in walk() member
290 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk()
291 SkPoint* curve = SkPath::kCubic_Verb == split->fVerb in walk()
293 split->fCanAdd = can_add_curve(split->fVerb, curve); in walk()
318 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk()
320 SkPoint* curve = SkPath::kCubic_Verb == split->fVerb in walk()
322 if (!can_add_curve(split->fVerb, curve)) { in walk()
325 fContourBuilder.addCurve(split->fVerb, curve); in walk()
DSkPathOpsCurve.h21 SkDEBUGCODE(SkPath::Verb fVerb);
24 SkASSERT(n >= 0 && n <= SkPathOpsVerbToPoints(fVerb));
35 SkDEBUGCODE(fVerb = SkPath::kQuad_Verb); in set()
43 SkDEBUGCODE(fVerb = SkPath::kCubic_Verb); in set()
55 SkDEBUGCODE(SkPath::Verb fVerb);
58 SkASSERT(n >= 0 && n <= SkPathOpsVerbToPoints(fVerb));
63 SkASSERT(n >= 0 && n <= SkPathOpsVerbToPoints(fVerb));
DSkOpSegment.h199 return (*CurveDPointAtT[fVerb])(fPts, fWeight, mid); in dPtAtT()
203 return (*CurveDSlopeAtT[fVerb])(fPts, fWeight, mid); in dSlopeAtT()
263 return (*CurveIsVertical[fVerb])(fPts, fWeight, start->t(), end->t()); in isVertical()
273 return fPts[SkPathOpsVerbToPoints(fVerb)]; in lastPt()
313 return (*CurvePointAtT[fVerb])(fPts, fWeight, mid); in ptAtT()
409 return fVerb; in verb()
439 SkPath::Verb fVerb; variable
DSkOpSegment.cpp173 curvePart.setCurveHullSweep(fVerb); in addCurveTo()
174 SkPath::Verb verb = curvePart.isCurve() ? fVerb : SkPath::kLine_Verb; in addCurveTo()
821 fVerb = verb; in init()
829 oneSpan->initBase(this, zeroSpan, 1, fPts[SkPathOpsVerbToPoints(fVerb)]); in init()
1499 if (fVerb == SkPath::kLine_Verb) { in ptsDisjoint()
1623 SkDEBUGCODE(edge->fVerb = fVerb); in subDivide()
1625 int points = SkPathOpsVerbToPoints(fVerb); in subDivide()
1627 if (fVerb == SkPath::kLine_Verb) { in subDivide()
1634 if (fVerb == SkPath::kQuad_Verb) { in subDivide()
1638 if (fVerb == SkPath::kConic_Verb) { in subDivide()
[all …]
DSkPathOpsWinding.cpp134 int roots = (*CurveIntercept[fVerb * 2 + xy_index(dir)])(fPts, fWeight, baseYX, tVals); in rayCheck()
147 pt = fPts[SkPathOpsVerbToPoints(fVerb)]; in rayCheck()
161 if (fVerb == SkPath::kCubic_Verb && base.fSpan->segment() == this in rayCheck()
DSkOpAngle.cpp978 SkDEBUGCODE(fPart.fCurve.fVerb = SkPath::kCubic_Verb); // required for SkDCurve debug check in setSpans()
981 SkDEBUGCODE(fPart.fCurve.fVerb = segment->verb()); // set the curve type for real in setSpans()
DSkPathOpsDebug.cpp1141 for (int vIndex = 1; vIndex <= SkPathOpsVerbToPoints(fVerb); ++vIndex) { in debugShowActiveSpans()
1144 if (SkPath::kConic_Verb == fVerb) { in debugShowActiveSpans()
1172 for (int vIndex = 1; vIndex <= SkPathOpsVerbToPoints(fVerb); ++vIndex) { in debugShowNewWinding()
1196 for (int vIndex = 1; vIndex <= SkPathOpsVerbToPoints(fVerb); ++vIndex) { in debugShowNewWinding()
/third_party/skia/samplecode/
DSampleSimpleStroker.cpp94 SkPath::Verb fVerb; member
142 while ((segment.fVerb = it.next(segment.fPoints)) != SkPath::kDone_Verb) { in getFillPath()
149 switch (segment.fVerb) { in getFillPath()
157 SkDebugf("Unhandled path verb %d\n", segment.fVerb); in getFillPath()
330 if (seg.fVerb != SkPath::kLine_Verb) { in unitNormal()
331 SkDebugf("Unhandled verb for unit normal %d\n", seg.fVerb); in unitNormal()
341 SkASSERT(lineSeg.fVerb == SkPath::kLine_Verb); in squaredLineLength()
DSampleVariableWidthStroker.cpp441 SkPath::Verb fVerb; member
559 while ((segment.fVerb = it.next(&segment.fPoints[0])) != SkPath::kDone_Verb) { in getFillPath()
573 switch (segment.fVerb) { in getFillPath()
583 SkDebugf("Unhandled path verb %d\n", segment.fVerb); in getFillPath()
735 quadApprox.fVerb = SkPath::kQuad_Verb; in strokeSegment()
894 const int deg = lut[static_cast<uint8_t>(seg.fVerb)]; in segmentDegree()
915 segA->fVerb = segB->fVerb = seg.fVerb; in splitSegment()
971 switch (seg.fVerb) { in unitNormal()
1013 SkDebugf("Unhandled verb for unit normal %d\n", seg.fVerb); in unitNormal()
/third_party/skia/src/core/
DSkPathPriv.h134 void operator++() { fVerb++; }
135 bool operator!=(const Iter& b) { return fVerb != b.fVerb; }
136 SkPath::Verb operator*() { return static_cast<SkPath::Verb>(*fVerb); }
137 const uint8_t* fVerb; member
/third_party/skia/include/core/
DSkPath.h1536 : fVerb(verbs), fPoints(points), fWeights(weights) { in RangeIter()
1540 return fVerb != that.fVerb;
1543 return fVerb == that.fVerb;
1546 auto verb = static_cast<SkPathVerb>(*fVerb++);
1559 return static_cast<SkPathVerb>(*fVerb); in peekVerb()
1593 const uint8_t* fVerb = nullptr; variable
/third_party/skia/modules/particles/include/
DSkReflected.h200 Verb fVerb = Verb::kNone; member
205 switch (fVerb) { in apply()
/third_party/skia/tests/
DPathOpsDebug.cpp121 switch(fVerb) { in dumpID()
881 int last = SkPathOpsVerbToPoints(fVerb); in dumpPtsInner()
883 if (fVerb == SkPath::kConic_Verb) { in dumpPtsInner()
893 if (fVerb == SkPath::kConic_Verb) { in dumpPtsInner()
1056 int count = SkPathOpsVerbToPoints(SkDEBUGRELEASE(fVerb, SkPath::kCubic_Verb)); in dump()
/third_party/skia/tools/viewer/
DParticlesSlide.cpp185 edit.fVerb = ArrayEdit::Verb::kRemove; in item()