Lines Matching refs:sub
13 void SkDRect::setBounds(const SkDQuad& curve, const SkDQuad& sub, double startT, double endT) {
14 set(sub[0]);
15 add(sub[2]);
18 if (!sub.monotonicInX()) {
19 roots = SkDQuad::FindExtrema(&sub[0].fX, tValues);
21 if (!sub.monotonicInY()) {
22 roots += SkDQuad::FindExtrema(&sub[0].fY, &tValues[roots]);
30 void SkDRect::setBounds(const SkDConic& curve, const SkDConic& sub, double startT, double endT) {
31 set(sub[0]);
32 add(sub[2]);
35 if (!sub.monotonicInX()) {
36 roots = SkDConic::FindExtrema(&sub[0].fX, sub.fWeight, tValues);
38 if (!sub.monotonicInY()) {
39 roots += SkDConic::FindExtrema(&sub[0].fY, sub.fWeight, &tValues[roots]);
47 void SkDRect::setBounds(const SkDCubic& curve, const SkDCubic& sub, double startT, double endT) {
48 set(sub[0]);
49 add(sub[3]);
52 if (!sub.monotonicInX()) {
53 roots = SkDCubic::FindExtrema(&sub[0].fX, tValues);
55 if (!sub.monotonicInY()) {
56 roots += SkDCubic::FindExtrema(&sub[0].fY, &tValues[roots]);