Home | History | Annotate | Download | only in parser

Lines Matching refs:box

46     SkRect box = SkRect::MakeLTRB(viewBox[0] / width, viewBox[1] / height,
48 if (box.fLeft == 0 && box.fTop == 0 &&
49 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1)
52 if (box.fLeft != 0) {
54 x.appendScalar(box.fLeft);
57 if (box.fTop != 0) {
59 y.appendScalar(box.fTop);
62 if (box.fRight != SK_Scalar1) {
64 x.appendScalar(box.fRight);
67 if (box.fBottom != SK_Scalar1) {
69 y.appendScalar(box.fBottom);