Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkPathPriv.h119 void operator++() { --fVerb; } // verbs are laid out backwards in memory.
120 bool operator!=(const Iter& b) { return fVerb != b.fVerb; }
121 SkPath::Verb operator*() { return static_cast<SkPath::Verb>(*fVerb); }
122 const uint8_t* fVerb; member
/external/skia/src/core/
DSkPathPriv.h125 void operator++() { --fVerb; } // verbs are laid out backwards in memory.
126 bool operator!=(const Iter& b) { return fVerb != b.fVerb; }
127 SkPath::Verb operator*() { return static_cast<SkPath::Verb>(*fVerb); }
128 const uint8_t* fVerb; member
/external/skqp/src/pathops/
DSkOpEdgeBuilder.cpp281 SkPath::Verb fVerb; in walk() member
294 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk()
297 split->fCanAdd = can_add_curve(split->fVerb, curve); in walk()
329 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk()
331 SkPoint* curve = SkPath::kCubic_Verb == split->fVerb in walk()
333 SkAssertResult(can_add_curve(split->fVerb, curve)); in walk()
334 fContourBuilder.addCurve(split->fVerb, curve); in walk()
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
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.cpp168 curvePart.setCurveHullSweep(fVerb); in addCurveTo()
169 SkPath::Verb verb = curvePart.isCurve() ? fVerb : SkPath::kLine_Verb; in addCurveTo()
798 fVerb = verb; in init()
806 oneSpan->initBase(this, zeroSpan, 1, fPts[SkPathOpsVerbToPoints(fVerb)]); in init()
1441 if (fVerb == SkPath::kLine_Verb) { in ptsDisjoint()
1561 SkDEBUGCODE(edge->fVerb = fVerb); in subDivide()
1563 int points = SkPathOpsVerbToPoints(fVerb); in subDivide()
1565 if (fVerb == SkPath::kLine_Verb) { in subDivide()
1572 if (fVerb == SkPath::kQuad_Verb) { in subDivide()
1576 if (fVerb == SkPath::kConic_Verb) { in subDivide()
[all …]
DSkPathOpsWinding.cpp131 int roots = (*CurveIntercept[fVerb * 2 + xy_index(dir)])(fPts, fWeight, baseYX, tVals); in rayCheck()
144 pt = fPts[SkPathOpsVerbToPoints(fVerb)]; in rayCheck()
158 if (fVerb == SkPath::kCubic_Verb && base.fSpan->segment() == this in rayCheck()
DSkOpAngle.cpp876 SkDEBUGCODE(fPart.fCurve.fVerb = SkPath::kCubic_Verb); // required for SkDCurve debug check in setSpans()
879 SkDEBUGCODE(fPart.fCurve.fVerb = segment->verb()); // set the curve type for real in setSpans()
DSkPathOpsDebug.cpp1162 for (int vIndex = 1; vIndex <= SkPathOpsVerbToPoints(fVerb); ++vIndex) { in debugShowActiveSpans()
1165 if (SkPath::kConic_Verb == fVerb) { in debugShowActiveSpans()
1193 for (int vIndex = 1; vIndex <= SkPathOpsVerbToPoints(fVerb); ++vIndex) { in debugShowNewWinding()
1217 for (int vIndex = 1; vIndex <= SkPathOpsVerbToPoints(fVerb); ++vIndex) { in debugShowNewWinding()
/external/skia/src/pathops/
DSkOpEdgeBuilder.cpp281 SkPath::Verb fVerb; in walk() member
294 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk()
297 split->fCanAdd = can_add_curve(split->fVerb, curve); in walk()
322 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk()
324 SkPoint* curve = SkPath::kCubic_Verb == split->fVerb in walk()
326 SkAssertResult(can_add_curve(split->fVerb, curve)); in walk()
327 fContourBuilder.addCurve(split->fVerb, curve); in walk()
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
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.cpp168 curvePart.setCurveHullSweep(fVerb); in addCurveTo()
169 SkPath::Verb verb = curvePart.isCurve() ? fVerb : SkPath::kLine_Verb; in addCurveTo()
798 fVerb = verb; in init()
806 oneSpan->initBase(this, zeroSpan, 1, fPts[SkPathOpsVerbToPoints(fVerb)]); in init()
1441 if (fVerb == SkPath::kLine_Verb) { in ptsDisjoint()
1561 SkDEBUGCODE(edge->fVerb = fVerb); in subDivide()
1563 int points = SkPathOpsVerbToPoints(fVerb); in subDivide()
1565 if (fVerb == SkPath::kLine_Verb) { in subDivide()
1572 if (fVerb == SkPath::kQuad_Verb) { in subDivide()
1576 if (fVerb == SkPath::kConic_Verb) { in subDivide()
[all …]
DSkPathOpsWinding.cpp131 int roots = (*CurveIntercept[fVerb * 2 + xy_index(dir)])(fPts, fWeight, baseYX, tVals); in rayCheck()
144 pt = fPts[SkPathOpsVerbToPoints(fVerb)]; in rayCheck()
158 if (fVerb == SkPath::kCubic_Verb && base.fSpan->segment() == this in rayCheck()
DSkOpAngle.cpp876 SkDEBUGCODE(fPart.fCurve.fVerb = SkPath::kCubic_Verb); // required for SkDCurve debug check in setSpans()
879 SkDEBUGCODE(fPart.fCurve.fVerb = segment->verb()); // set the curve type for real in setSpans()
DSkPathOpsDebug.cpp1162 for (int vIndex = 1; vIndex <= SkPathOpsVerbToPoints(fVerb); ++vIndex) { in debugShowActiveSpans()
1165 if (SkPath::kConic_Verb == fVerb) { in debugShowActiveSpans()
1193 for (int vIndex = 1; vIndex <= SkPathOpsVerbToPoints(fVerb); ++vIndex) { in debugShowNewWinding()
1217 for (int vIndex = 1; vIndex <= SkPathOpsVerbToPoints(fVerb); ++vIndex) { in debugShowNewWinding()
/external/skqp/samplecode/
DSampleAAGeometry.cpp23 if (SkPath::kQuad_Verb == fVerb) {
43 if (SkPath::kQuad_Verb <= fVerb) {
46 if (SkPath::kCubic_Verb == fVerb) {
48 } else if (SkPath::kConic_Verb == fVerb) {
683 SkPath::Verb fVerb; member in MyClick
690 , fVerb((SkPath::Verb) -1) in MyClick()
698 , fVerb((SkPath::Verb) -1) in MyClick()
706 , fVerb(verb) in MyClick()
1680 fLineButton.setEnabled(myClick->fVerb == SkPath::kLine_Verb); in onClick()
1681 fQuadButton.setEnabled(myClick->fVerb == SkPath::kQuad_Verb); in onClick()
[all …]
/external/skia/samplecode/
DSampleAAGeometry.cpp23 if (SkPath::kQuad_Verb == fVerb) {
43 if (SkPath::kQuad_Verb <= fVerb) {
46 if (SkPath::kCubic_Verb == fVerb) {
48 } else if (SkPath::kConic_Verb == fVerb) {
683 SkPath::Verb fVerb; member in MyClick
690 , fVerb((SkPath::Verb) -1) in MyClick()
698 , fVerb((SkPath::Verb) -1) in MyClick()
706 , fVerb(verb) in MyClick()
1680 fLineButton.setEnabled(myClick->fVerb == SkPath::kLine_Verb); in onClick()
1681 fQuadButton.setEnabled(myClick->fVerb == SkPath::kQuad_Verb); in onClick()
[all …]
/external/skia/tests/
DPathOpsDebug.cpp113 switch(fVerb) { in dumpID()
1198 int last = SkPathOpsVerbToPoints(fVerb); in dumpPtsInner()
1200 if (fVerb == SkPath::kConic_Verb) { in dumpPtsInner()
1210 if (fVerb == SkPath::kConic_Verb) { in dumpPtsInner()
1373 int count = SkPathOpsVerbToPoints(SkDEBUGRELEASE(fVerb, SkPath::kCubic_Verb)); in dump()
/external/skqp/tests/
DPathOpsDebug.cpp113 switch(fVerb) { in dumpID()
1198 int last = SkPathOpsVerbToPoints(fVerb); in dumpPtsInner()
1200 if (fVerb == SkPath::kConic_Verb) { in dumpPtsInner()
1210 if (fVerb == SkPath::kConic_Verb) { in dumpPtsInner()
1373 int count = SkPathOpsVerbToPoints(SkDEBUGRELEASE(fVerb, SkPath::kCubic_Verb)); in dump()