Home | History | Annotate | Download | only in core

Lines Matching refs:rx

959                  rect.fLeft  + rx,     rect.fTop);
961 path->lineTo(rect.fRight - rx, rect.fTop); 1 upper right
971 rect.fRight - rx, rect.fBottom);
973 path->lineTo(rect.fLeft + rx, rect.fBottom); 3 lower left
984 rect.fLeft + rx, rect.fBottom);
986 path->lineTo(rect.fRight - rx, rect.fBottom); 2 lower right
996 rect.fRight - rx, rect.fTop);
998 path->lineTo(rect.fLeft + rx, rect.fTop); 0 upper left
1008 SkScalar rx = radii.fX;
1013 SkScalar midPtX = rx * mid;
1016 SkScalar offPtX = rx * control;
1029 xOff[4] = rx;
1035 xOff[0] = rx;
1070 if (rx || ry) {
1142 void SkPath::addRoundRect(const SkRect& rect, SkScalar rx, SkScalar ry,
1146 if (rx < 0 || ry < 0) {
1150 SkScalarToDouble(rx), SkScalarToDouble(ry) );
1164 bool skip_hori = rx >= halfW;
1178 rx = halfW;
1182 SkScalar sx = SkScalarMul(rx, CUBIC_ARC_FACTOR);
1186 this->moveTo(rect.fRight - rx, rect.fTop); // top-right
1189 this->lineTo(rect.fLeft + rx, rect.fTop); // top
1191 this->cubicTo(rect.fLeft + rx - sx, rect.fTop,
1198 rect.fLeft + rx - sx, rect.fBottom,
1199 rect.fLeft + rx, rect.fBottom); // bot-left
1201 this->lineTo(rect.fRight - rx, rect.fBottom); // bottom
1203 this->cubicTo(rect.fRight - rx + sx, rect.fBottom,
1210 rect.fRight - rx + sx, rect.fTop,
1211 rect.fRight - rx, rect.fTop); // top-right
1213 this->cubicTo(rect.fRight - rx + sx, rect.fTop,
1220 rect.fRight - rx + sx, rect.fBottom,
1221 rect.fRight - rx, rect.fBottom); // bot-right
1223 this->lineTo(rect.fLeft + rx, rect.fBottom); // bottom
1225 this->cubicTo(rect.fLeft + rx - sx, rect.fBottom,
1232 rect.fLeft + rx - sx, rect.fTop,
1233 rect.fLeft + rx, rect.fTop); // top-left
1235 this->lineTo(rect.fRight - rx, rect.fTop); // top
1241 rrect.setRectXY(rect, rx, ry);
1268 SkScalar rx = SkScalarHalf(oval.width());
1271 SkScalar sx = SkScalarMul(rx, SK_ScalarTanPIOver8);
1273 SkScalar mx = SkScalarMul(rx, SK_ScalarRoot2Over2);
1278 the provided bounds when we can (i.e. use oval.fLeft instead of cx-rx)
1282 const SkScalar L = oval.fLeft; // cx - rx
1284 const SkScalar R = oval.fRight; // cx + rx