Home
last modified time | relevance | path

Searched refs:fCurve (Results 1 – 17 of 17) sorted by relevance

/external/skqp/src/pathops/
DSkPathOpsTSect.cpp71 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 …]
DSkOpAngle.cpp65 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 …]
DSkPathOpsCurve.cpp94 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()
DSkPathOpsTSect.h287 result->initBounds(fCurve); in addSplitAt()
288 span->initBounds(fCurve); in addSplitAt()
328 return fCurve[fCurve.pointLast()]; in pointLast()
355 const SkTCurve& fCurve; variable
DSkOpSegment.cpp172 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()
DSkPathOpsCurve.h91 SkDCurve fCurve; variable
DSkPathOpsDebug.cpp1302 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/
DSkPathOpsTSect.cpp71 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 …]
DSkOpAngle.cpp65 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 …]
DSkPathOpsCurve.cpp94 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()
DSkPathOpsTSect.h287 result->initBounds(fCurve); in addSplitAt()
288 span->initBounds(fCurve); in addSplitAt()
328 return fCurve[fCurve.pointLast()]; in pointLast()
355 const SkTCurve& fCurve; variable
DSkOpSegment.cpp172 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()
DSkPathOpsCurve.h91 SkDCurve fCurve; variable
DSkPathOpsDebug.cpp1302 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/modules/particles/src/
DSkParticleAffector.cpp370 SkSizeAffector(const SkCurve& curve = 1.0f) : fCurve(curve) {} in SkSizeAffector()
376 ps[i].fPose.fScale = fCurve.eval(params, ps[i]); in REFLECTED()
382 v->visit("Curve", fCurve); in visitFields()
386 SkCurve fCurve; member in SkSizeAffector
391 SkFrameAffector(const SkCurve& curve = 1.0f) : fCurve(curve) {} in SkFrameAffector()
397 ps[i].fFrame = fCurve.eval(params, ps[i]); in REFLECTED()
403 v->visit("Curve", fCurve); in visitFields()
407 SkCurve fCurve; member in SkFrameAffector
413 : fCurve(curve) {}
419 ps[i].fColor = fCurve.eval(params, ps[i]); in REFLECTED()
[all …]
/external/skqp/tests/
DPathOpsDebug.cpp601 next->fPart.fCurve.dumpID(next->segment()->debugID()); in dumpCurves()
/external/skia/tests/
DPathOpsDebug.cpp601 next->fPart.fCurve.dumpID(next->segment()->debugID()); in dumpCurves()