Lines Matching refs:intercept
294 const SkGlyph::Intercept* intercept,SkScalar* array, int* count) { in ensureIntercepts() argument
298 *array++ = intercept->fInterval[index] * scale + xPos; in ensureIntercepts()
309 const SkGlyph::Intercept* intercept = fPathData->fIntercept; in ensureIntercepts() local
310 while (intercept) { in ensureIntercepts()
311 if (bounds[0] == intercept->fBounds[0] && bounds[1] == intercept->fBounds[1]) { in ensureIntercepts()
312 return intercept; in ensureIntercepts()
314 intercept = intercept->fNext; in ensureIntercepts()
326 SkGlyph::Intercept* intercept = alloc->make<SkGlyph::Intercept>(); in ensureIntercepts() local
327 intercept->fNext = fPathData->fIntercept; in ensureIntercepts()
328 intercept->fBounds[0] = bounds[0]; in ensureIntercepts()
329 intercept->fBounds[1] = bounds[1]; in ensureIntercepts()
330 intercept->fInterval[0] = SK_ScalarMax; in ensureIntercepts()
331 intercept->fInterval[1] = SK_ScalarMin; in ensureIntercepts()
332 fPathData->fIntercept = intercept; in ensureIntercepts()
339 std::tie(intercept->fInterval[0], intercept->fInterval[1]) in ensureIntercepts()
342 if (intercept->fInterval[0] >= intercept->fInterval[1]) { in ensureIntercepts()
343 intercept->fInterval[0] = SK_ScalarMax; in ensureIntercepts()
344 intercept->fInterval[1] = SK_ScalarMin; in ensureIntercepts()
347 offsetResults(intercept, array, count); in ensureIntercepts()