Lines Matching refs:pair
207 SkPoint pair[5];
208 if (SkChopQuadAtMaxCurvature(pointsPtr, pair) == 1) {
211 if (!SkScalarsAreFinite(&pair[0].fX, SK_ARRAY_COUNT(pair) * 2)) {
214 for (unsigned index = 0; index < SK_ARRAY_COUNT(pair); ++index) {
215 pair[index] = force_small_to_zero(pair[index]);
218 SkPath::Verb v1 = SkReduceOrder::Quad(&pair[0], cStorage[0]);
219 SkPath::Verb v2 = SkReduceOrder::Quad(&pair[2], cStorage[1]);
220 SkPoint* curve1 = v1 != SkPath::kLine_Verb ? &pair[0] : cStorage[0];
221 SkPoint* curve2 = v2 != SkPath::kLine_Verb ? &pair[2] : cStorage[1];
241 SkConic pair[2];
242 if (!conic.chopAt(maxCurvature, pair)) {
248 SkPath::Verb v1 = SkReduceOrder::Conic(pair[0], cStorage[0]);
249 SkPath::Verb v2 = SkReduceOrder::Conic(pair[1], cStorage[1]);
250 SkPoint* curve1 = v1 != SkPath::kLine_Verb ? pair[0].fPts : cStorage[0];
251 SkPoint* curve2 = v2 != SkPath::kLine_Verb ? pair[1].fPts : cStorage[1];
253 fContourBuilder.addCurve(v1, curve1, pair[0].fW);
254 fContourBuilder.addCurve(v2, curve2, pair[1].fW);