Lines Matching refs:ParseDefault
45 rect_node->setDirection(ParseDefault(jrect["d"], -1) == 3 ? SkPath::kCCW_Direction in AttachRRectGeometry()
75 rect_node->setDirection(ParseDefault(jellipse["d"], -1) == 3 ? SkPath::kCCW_Direction in AttachEllipseGeometry()
107 const auto type = ParseDefault<size_t>(jstar["sy"], 0) - 1; in AttachPolystarGeometry()
154 const auto stopCount = ParseDefault<int>((*stops)["p"], -1); in AttachGradient()
161 if (ParseDefault<int>(jgrad["t"], 1) == 1) { in AttachGradient()
218 stroke_node->setStrokeMiter(ParseDefault<SkScalar>(jstroke["ml"], 4.0f)); in AttachStroke()
225 stroke_node->setStrokeJoin(gJoins[SkTMin<size_t>(ParseDefault<size_t>(jstroke["lj"], 1) - 1, in AttachStroke()
233 stroke_node->setStrokeCap(gCaps[SkTMin<size_t>(ParseDefault<size_t>(jstroke["lc"], 1) - 1, in AttachStroke()
288 const auto mode = gModes[SkTMin<size_t>(ParseDefault<size_t>(jmerge["mm"], 1) - 1, in AttachMergeGeometryEffect()
306 const auto mode = gModes[SkTMin<size_t>(ParseDefault<size_t>(jtrim["m"], 1) - 1, in AttachTrimGeometryEffect()
376 const auto repeater_composite = (ParseDefault(jrepeater["m"], 1) == 1) in AttachRepeaterDrawEffect()