/external/skqp/src/core/ |
D | SkPathPriv.h | 134 void operator++() { --fVerb; } // verbs are laid out backwards in memory. 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
|
/external/skia/src/pathops/ |
D | SkOpEdgeBuilder.cpp | 277 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()
|
D | SkPathOpsCurve.h | 21 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));
|
D | SkOpSegment.h | 199 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
|
D | SkOpSegment.cpp | 173 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 …]
|
D | SkPathOpsWinding.cpp | 134 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()
|
D | SkOpAngle.cpp | 978 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()
|
D | SkPathOpsDebug.cpp | 1141 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()
|
/external/skia/samplecode/ |
D | SampleSimpleStroker.cpp | 94 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()
|
D | SampleVariableWidthStroker.cpp | 441 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()
|
/external/skqp/src/pathops/ |
D | SkOpEdgeBuilder.cpp | 283 SkPath::Verb fVerb; in walk() member 296 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk() 299 split->fCanAdd = can_add_curve(split->fVerb, curve); in walk() 324 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk() 326 SkPoint* curve = SkPath::kCubic_Verb == split->fVerb in walk() 328 if (!can_add_curve(split->fVerb, curve)) { in walk() 331 fContourBuilder.addCurve(split->fVerb, curve); in walk()
|
D | SkOpSegment.h | 199 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
|
D | SkPathOpsCurve.h | 21 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));
|
D | SkOpSegment.cpp | 173 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 …]
|
D | SkPathOpsWinding.cpp | 133 int roots = (*CurveIntercept[fVerb * 2 + xy_index(dir)])(fPts, fWeight, baseYX, tVals); in rayCheck() 146 pt = fPts[SkPathOpsVerbToPoints(fVerb)]; in rayCheck() 160 if (fVerb == SkPath::kCubic_Verb && base.fSpan->segment() == this in rayCheck()
|
D | SkOpAngle.cpp | 978 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()
|
D | SkPathOpsDebug.cpp | 1164 for (int vIndex = 1; vIndex <= SkPathOpsVerbToPoints(fVerb); ++vIndex) { in debugShowActiveSpans() 1167 if (SkPath::kConic_Verb == fVerb) { in debugShowActiveSpans() 1195 for (int vIndex = 1; vIndex <= SkPathOpsVerbToPoints(fVerb); ++vIndex) { in debugShowNewWinding() 1219 for (int vIndex = 1; vIndex <= SkPathOpsVerbToPoints(fVerb); ++vIndex) { in debugShowNewWinding()
|
/external/skia/src/core/ |
D | SkPathPriv.h | 133 void operator++() { fVerb++; } 134 bool operator!=(const Iter& b) { return fVerb != b.fVerb; } 135 SkPath::Verb operator*() { return static_cast<SkPath::Verb>(*fVerb); } 136 const uint8_t* fVerb; member
|
/external/skia/include/core/ |
D | SkPath.h | 1536 : 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
|
/external/skia/modules/particles/include/ |
D | SkReflected.h | 200 Verb fVerb = Verb::kNone; member 205 switch (fVerb) { in apply()
|
/external/skqp/samplecode/ |
D | SampleAAGeometry.cpp | 24 if (SkPath::kQuad_Verb == fVerb) { 44 if (SkPath::kQuad_Verb <= fVerb) { 47 if (SkPath::kCubic_Verb == fVerb) { 49 } else if (SkPath::kConic_Verb == fVerb) { 685 SkPath::Verb fVerb; member in MyClick 692 , fVerb((SkPath::Verb) -1) in MyClick() 700 , fVerb((SkPath::Verb) -1) in MyClick() 708 , fVerb(verb) in MyClick() 1679 fLineButton.setEnabled(myClick->fVerb == SkPath::kLine_Verb); in onClick() 1680 fQuadButton.setEnabled(myClick->fVerb == SkPath::kQuad_Verb); in onClick() [all …]
|
/external/skia/bench/ |
D | TessellateBench.cpp | 470 : Benchmark(nameSuffix, SkPaint::kBevel_Join), fVerb(verb) {} in SingleVerbStrokeIndirectBenchmark() 476 switch (fVerb) { in setupPaths() 500 const SkPathVerb fVerb; member in SingleVerbStrokeIndirectBenchmark
|
/external/skia/tests/ |
D | PathOpsDebug.cpp | 121 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()
|
/external/skqp/tests/ |
D | PathOpsDebug.cpp | 121 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()
|
/external/skia/tools/viewer/ |
D | ParticlesSlide.cpp | 185 edit.fVerb = ArrayEdit::Verb::kRemove; in item()
|