Home | History | Annotate | Download | only in pathops

Lines Matching refs:split

269                     // Split complex cubics (such as self-intersecting curves or
289 Splitsville* split = &splits[index];
290 split->fT[0] = index ? splitT[index - 1] : 0;
291 split->fT[1] = index < breaks ? splitT[index] : 1;
292 SkDCubic part = SkDCubic::SubDivide(pointsPtr, split->fT[0], split->fT[1]);
293 if (!part.toFloatPoints(split->fPts)) {
296 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced);
298 ? split->fPts : split->fReduced;
299 split->fCanAdd = can_add_curve(split->fVerb, curve);
302 Splitsville* split = &splits[index];
303 if (!split->fCanAdd) {
311 split->fT[0] = splits[prior].fT[0];
312 split->fPts[0] = splits[prior].fPts[0];
320 split->fT[1] = splits[next].fT[1];
321 split->fPts[3] = splits[next].fPts[3];
324 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced);
326 SkPoint* curve = SkPath::kCubic_Verb == split->fVerb
327 ? split->fPts : split->fReduced;
328 if (!can_add_curve(split->fVerb, curve)) {
331 fContourBuilder.addCurve(split->fVerb, curve);