Lines Matching defs:ry
25 this->setRy(SkSVGAttributeParser::parse<SkSVGLength>("ry", n, v));
33 // - Let rx and ry be length values.
34 // - If neither ‘rx’ nor ‘ry’ are properly specified, then set both rx and ry to 0.
35 // - Otherwise, if a properly specified value is provided for ‘rx’, but not for ‘ry’,
36 // then set both rx and ry to the value of ‘rx’.
37 // - Otherwise, if a properly specified value is provided for ‘ry’, but not for ‘rx’,
38 // then set both rx and ry to the value of ‘ry’.
39 // - Otherwise, both ‘rx’ and ‘ry’ were specified properly. Set rx to the value of ‘rx’
40 // and ry to the value of ‘ry’.
42 // - If ry is greater than half of ‘height’, then set ry to half of ‘height’.
43 // - The effective values of ‘rx’ and ‘ry’ are rx and ry, respectively.
58 ry = std::min(lctx.resolve(rylen, SkSVGLengthContext::LengthType::kVertical),
61 return SkRRect::MakeRectXY(rect, rx, ry);