Home
last modified time | relevance | path

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

/third_party/skia/src/pathops/
DSkPathOpsTSect.cpp72 result->resetBounds(fCurve); in addFollowing()
496 SkASSERT(fDebugSect->fOppSect->fCurve.ptAtT(t) == pt); in validatePerpPt()
502 : fCurve(c) in SkTSect()
525 result = fHeap.make<SkTSpan>(fCurve, fHeap); in addOne()
537 result->debugInit(fCurve, fHeap); in addOne()
550 SkTSpan work(fCurve, fHeap); in binarySearchCoin()
553 SkDPoint last = fCurve.ptAtT(tStart); in binarySearchCoin()
558 const SkTCurve& opp = sect2->fCurve; in binarySearchCoin()
566 work.initBounds(fCurve); in binarySearchCoin()
574 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 = 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()
DSkPathOpsTSect.h286 result->initBounds(fCurve); in addSplitAt()
287 span->initBounds(fCurve); in addSplitAt()
327 return fCurve[fCurve.pointLast()]; in pointLast()
354 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.cpp1279 result.printf(LINE_DEBUG_STR " id=%d", LINE_DEBUG_DATA(fPart.fCurve), in debugPart()
1283 result.printf(QUAD_DEBUG_STR " id=%d", QUAD_DEBUG_DATA(fPart.fCurve), in debugPart()
1288 CONIC_DEBUG_DATA(fPart.fCurve, fPart.fCurve.fConic.fWeight), in debugPart()
1292 result.printf(CUBIC_DEBUG_STR " id=%d", CUBIC_DEBUG_DATA(fPart.fCurve), in debugPart()
/third_party/skia/tests/
DPathOpsDebug.cpp601 next->fPart.fCurve.dumpID(next->segment()->debugID()); in dumpCurves()