Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPathPriv.h134 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/skqp/src/core/
DSkPathPriv.h134 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/skqp/src/pathops/
DSkOpEdgeBuilder.cpp283 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()
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.cpp133 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()
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.cpp1164 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/pathops/
DSkOpEdgeBuilder.cpp283 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()
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.cpp133 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()
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.cpp1164 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/skqp/samplecode/
DSampleAAGeometry.cpp24 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/samplecode/
DSampleAAGeometry.cpp24 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/modules/particles/include/
DSkReflected.h223 Verb fVerb = Verb::kNone; member
228 switch (fVerb) { in apply()
/external/skia/tools/viewer/
DParticlesSlide.cpp163 edit.fVerb = ArrayEdit::Verb::kRemove; in item()
168 edit.fVerb = ArrayEdit::Verb::kMoveForward; in item()
173 edit.fVerb = ArrayEdit::Verb::kMoveForward; in item()
/external/skqp/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()
/external/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()