Home
last modified time | relevance | path

Searched refs:fPart (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/src/pathops/
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()
174 if (!fPart.isCurve() && !lh->fPart.isCurve() && !rh->fPart.isCurve()) { in after()
221 const SkDCurve& testCurve = useOriginal ? test->fOriginalCurvePart : test->fPart.fCurve; in lineOnOneSide()
250 SkASSERT(!fPart.isCurve()); in lineOnOneSide()
251 SkASSERT(test->fPart.isCurve()); in lineOnOneSide()
252 SkDPoint origin = fPart.fCurve[0]; in lineOnOneSide()
[all …]
DSkPathOpsTSect.h91 fPart = curve.make(heap); in SkTSpan()
168 return *fPart; in part()
172 return fPart->pointCount(); in pointCount()
176 return (*fPart)[0]; in pointFirst()
180 return (*fPart)[fPart->pointLast()]; in pointLast()
223 SkTCurve* fPart; variable
DSkPathOpsTSect.cpp181 if (fPart->hullIntersects(*opp->fPart, &linear)) { in hullCheck()
186 fIsLine = fPart->controlsInside(); in hullCheck()
226 c.subDivide(fStartT, fEndT, fPart); in initBounds()
227 fBounds.setBounds(*fPart); in initBounds()
231 fCollapsed = fPart->collapsed(); in initBounds()
243 int result = this->linearIntersects(*span->fPart); in linearsIntersect()
248 result = span->linearIntersects(*fPart); in linearsIntersect()
262 int start = 0, end = fPart->pointLast(); // the outside points are usually the extremes in linearIntersects()
263 if (!fPart->controlsInside()) { in linearIntersects()
267 double test = ((*fPart)[outer] - (*fPart)[inner]).lengthSquared(); in linearIntersects()
[all …]
DSkOpAngle.h123 SkDCurveSweep fPart; // the curve from start to end offset as needed 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/flutter/skia/src/pathops/
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()
174 if (!fPart.isCurve() && !lh->fPart.isCurve() && !rh->fPart.isCurve()) { in after()
221 const SkDCurve& testCurve = useOriginal ? test->fOriginalCurvePart : test->fPart.fCurve; in lineOnOneSide()
250 SkASSERT(!fPart.isCurve()); in lineOnOneSide()
251 SkASSERT(test->fPart.isCurve()); in lineOnOneSide()
252 SkDPoint origin = fPart.fCurve[0]; in lineOnOneSide()
[all …]
DSkPathOpsTSect.h92 fPart = curve.make(heap); in SkTSpan()
169 return *fPart; in part()
173 return fPart->pointCount(); in pointCount()
177 return (*fPart)[0]; in pointFirst()
181 return (*fPart)[fPart->pointLast()]; in pointLast()
224 SkTCurve* fPart; variable
DSkPathOpsTSect.cpp180 if (fPart->hullIntersects(*opp->fPart, &linear)) { in hullCheck()
185 fIsLine = fPart->controlsInside(); in hullCheck()
225 c.subDivide(fStartT, fEndT, fPart); in initBounds()
226 fBounds.setBounds(*fPart); in initBounds()
230 fCollapsed = fPart->collapsed(); in initBounds()
242 int result = this->linearIntersects(*span->fPart); in linearsIntersect()
247 result = span->linearIntersects(*fPart); in linearsIntersect()
261 int start = 0, end = fPart->pointLast(); // the outside points are usually the extremes in linearIntersects()
262 if (!fPart->controlsInside()) { in linearIntersects()
266 double test = ((*fPart)[outer] - (*fPart)[inner]).lengthSquared(); in linearIntersects()
[all …]
DSkOpAngle.h123 SkDCurveSweep fPart; // the curve from start to end offset as needed variable
DSkPathOpsDebug.cpp1301 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()
/third_party/skia/tests/
DPathOpsDebug.cpp601 next->fPart.fCurve.dumpID(next->segment()->debugID()); in dumpCurves()
1281 test->fPart->dumpID(test->debugID()); in dumpCommonCurves()
/third_party/flutter/skia/tests/
DPathOpsDebug.cpp601 next->fPart.fCurve.dumpID(next->segment()->debugID()); in dumpCurves()
1281 test->fPart->dumpID(test->debugID()); in dumpCommonCurves()