/external/skqp/src/pathops/ |
D | SkPathOpsTSect.cpp | 71 result->resetBounds(fCurve); in addFollowing() 495 SkASSERT(fDebugSect->fOppSect->fCurve.ptAtT(t) == pt); in validatePerpPt() 501 : fCurve(c) in SkTSect() 524 result = fHeap.make<SkTSpan>(fCurve, fHeap); in addOne() 536 result->debugInit(fCurve, fHeap); in addOne() 549 SkTSpan work(fCurve, fHeap); in binarySearchCoin() 552 SkDPoint last = fCurve.ptAtT(tStart); in binarySearchCoin() 557 const SkTCurve& opp = sect2->fCurve; in binarySearchCoin() 565 work.initBounds(fCurve); in binarySearchCoin() 573 work.fCoinStart.setPerp(fCurve, work.fStartT, last, opp); in binarySearchCoin() [all …]
|
D | SkOpAngle.cpp | 65 fPart.fCurve = fOriginalCurvePart; in after() 66 lh->fPart.fCurve = lh->fOriginalCurvePart; in after() 67 lh->fPart.fCurve.offset(lh->segment()->verb(), fPart.fCurve[0] - lh->fPart.fCurve[0]); in after() 68 rh->fPart.fCurve = rh->fOriginalCurvePart; in after() 69 rh->fPart.fCurve.offset(rh->segment()->verb(), fPart.fCurve[0] - rh->fPart.fCurve[0]); in after() 221 const SkDCurve& testCurve = useOriginal ? test->fOriginalCurvePart : test->fPart.fCurve; in lineOnOneSide() 252 SkDPoint origin = fPart.fCurve[0]; in lineOnOneSide() 253 SkDVector line = fPart.fCurve[1] - origin; in lineOnOneSide() 309 const SkDPoint& xOrigin = test->fPart.fCurve.fLine[0]; in alignmentSameSide() 315 SkDVector xLine = test->fPart.fCurve.fLine[1] - xOrigin; in alignmentSameSide() [all …]
|
D | SkPathOpsCurve.cpp | 94 fSweep[0] = fCurve[1] - fCurve[0]; in setCurveHullSweep() 100 fSweep[1] = fCurve[2] - fCurve[0]; in setCurveHullSweep() 105 maxVal = SkTMax(maxVal, SkTMax(SkTAbs(fCurve[index].fX), in setCurveHullSweep() 106 SkTAbs(fCurve[index].fY))); in setCurveHullSweep() 116 SkDVector thirdSweep = fCurve[3] - fCurve[0]; in setCurveHullSweep() 123 fCurve[1] = fCurve[3]; in setCurveHullSweep()
|
D | SkPathOpsTSect.h | 287 result->initBounds(fCurve); in addSplitAt() 288 span->initBounds(fCurve); in addSplitAt() 328 return fCurve[fCurve.pointLast()]; in pointLast() 355 const SkTCurve& fCurve; variable
|
D | SkOpSegment.cpp | 172 start->segment()->subDivide(start, end, &curvePart.fCurve); in addCurveTo() 181 path->quadTo(curvePart.fCurve.fQuad[1].asSkPoint(), end->ptT()); in addCurveTo() 184 path->conicTo(curvePart.fCurve.fConic[1].asSkPoint(), end->ptT(), in addCurveTo() 185 curvePart.fCurve.fConic.fWeight); in addCurveTo() 188 path->cubicTo(curvePart.fCurve.fCubic[1].asSkPoint(), in addCurveTo() 189 curvePart.fCurve.fCubic[2].asSkPoint(), end->ptT()); in addCurveTo()
|
D | SkPathOpsCurve.h | 91 SkDCurve fCurve; variable
|
D | SkPathOpsDebug.cpp | 1302 result.printf(LINE_DEBUG_STR " id=%d", LINE_DEBUG_DATA(fPart.fCurve), in debugPart() 1306 result.printf(QUAD_DEBUG_STR " id=%d", QUAD_DEBUG_DATA(fPart.fCurve), in debugPart() 1311 CONIC_DEBUG_DATA(fPart.fCurve, fPart.fCurve.fConic.fWeight), in debugPart() 1315 result.printf(CUBIC_DEBUG_STR " id=%d", CUBIC_DEBUG_DATA(fPart.fCurve), in debugPart()
|
/external/skia/src/pathops/ |
D | SkPathOpsTSect.cpp | 71 result->resetBounds(fCurve); in addFollowing() 495 SkASSERT(fDebugSect->fOppSect->fCurve.ptAtT(t) == pt); in validatePerpPt() 501 : fCurve(c) in SkTSect() 524 result = fHeap.make<SkTSpan>(fCurve, fHeap); in addOne() 536 result->debugInit(fCurve, fHeap); in addOne() 549 SkTSpan work(fCurve, fHeap); in binarySearchCoin() 552 SkDPoint last = fCurve.ptAtT(tStart); in binarySearchCoin() 557 const SkTCurve& opp = sect2->fCurve; in binarySearchCoin() 565 work.initBounds(fCurve); in binarySearchCoin() 573 work.fCoinStart.setPerp(fCurve, work.fStartT, last, opp); in binarySearchCoin() [all …]
|
D | SkOpAngle.cpp | 65 fPart.fCurve = fOriginalCurvePart; in after() 66 lh->fPart.fCurve = lh->fOriginalCurvePart; in after() 67 lh->fPart.fCurve.offset(lh->segment()->verb(), fPart.fCurve[0] - lh->fPart.fCurve[0]); in after() 68 rh->fPart.fCurve = rh->fOriginalCurvePart; in after() 69 rh->fPart.fCurve.offset(rh->segment()->verb(), fPart.fCurve[0] - rh->fPart.fCurve[0]); in after() 221 const SkDCurve& testCurve = useOriginal ? test->fOriginalCurvePart : test->fPart.fCurve; in lineOnOneSide() 252 SkDPoint origin = fPart.fCurve[0]; in lineOnOneSide() 253 SkDVector line = fPart.fCurve[1] - origin; in lineOnOneSide() 309 const SkDPoint& xOrigin = test->fPart.fCurve.fLine[0]; in alignmentSameSide() 315 SkDVector xLine = test->fPart.fCurve.fLine[1] - xOrigin; in alignmentSameSide() [all …]
|
D | SkPathOpsCurve.cpp | 94 fSweep[0] = fCurve[1] - fCurve[0]; in setCurveHullSweep() 100 fSweep[1] = fCurve[2] - fCurve[0]; in setCurveHullSweep() 105 maxVal = std::max(maxVal, std::max(SkTAbs(fCurve[index].fX), in setCurveHullSweep() 106 SkTAbs(fCurve[index].fY))); in setCurveHullSweep() 116 SkDVector thirdSweep = fCurve[3] - fCurve[0]; in setCurveHullSweep() 123 fCurve[1] = fCurve[3]; in setCurveHullSweep()
|
D | SkPathOpsTSect.h | 287 result->initBounds(fCurve); in addSplitAt() 288 span->initBounds(fCurve); in addSplitAt() 328 return fCurve[fCurve.pointLast()]; in pointLast() 355 const SkTCurve& fCurve; variable
|
D | SkOpSegment.cpp | 172 start->segment()->subDivide(start, end, &curvePart.fCurve); in addCurveTo() 181 path->quadTo(curvePart.fCurve.fQuad[1].asSkPoint(), end->ptT()); in addCurveTo() 184 path->conicTo(curvePart.fCurve.fConic[1].asSkPoint(), end->ptT(), in addCurveTo() 185 curvePart.fCurve.fConic.fWeight); in addCurveTo() 188 path->cubicTo(curvePart.fCurve.fCubic[1].asSkPoint(), in addCurveTo() 189 curvePart.fCurve.fCubic[2].asSkPoint(), end->ptT()); in addCurveTo()
|
D | SkPathOpsCurve.h | 91 SkDCurve fCurve; variable
|
D | SkPathOpsDebug.cpp | 1301 result.printf(LINE_DEBUG_STR " id=%d", LINE_DEBUG_DATA(fPart.fCurve), in debugPart() 1305 result.printf(QUAD_DEBUG_STR " id=%d", QUAD_DEBUG_DATA(fPart.fCurve), in debugPart() 1310 CONIC_DEBUG_DATA(fPart.fCurve, fPart.fCurve.fConic.fWeight), in debugPart() 1314 result.printf(CUBIC_DEBUG_STR " id=%d", CUBIC_DEBUG_DATA(fPart.fCurve), in debugPart()
|
/external/skqp/tests/ |
D | PathOpsDebug.cpp | 601 next->fPart.fCurve.dumpID(next->segment()->debugID()); in dumpCurves()
|
/external/skia/tests/ |
D | PathOpsDebug.cpp | 601 next->fPart.fCurve.dumpID(next->segment()->debugID()); in dumpCurves()
|