Home | History | Annotate | Download | only in gpu

Lines Matching defs:strokeWidth

782     SkScalar strokeWidth = viewMatrix.mapRadius(stroke.getWidth());
793 if (SkScalarNearlyZero(strokeWidth)) {
796 halfWidth = SkScalarHalf(strokeWidth);
1012 SkScalar strokeWidth = stroke.getWidth();
1013 scaledStroke.fX = SkScalarAbs(strokeWidth*(viewMatrix[SkMatrix::kMScaleX] +
1015 scaledStroke.fY = SkScalarAbs(strokeWidth*(viewMatrix[SkMatrix::kMSkewX] +
1256 SkScalar strokeWidth = stroke.getWidth();
1258 if (SkScalarNearlyZero(strokeWidth)) {
1259 strokeWidth = SK_ScalarHalf;
1261 strokeWidth *= SK_ScalarHalf;
1265 if (strokeWidth > SK_ScalarHalf &&
1271 if (strokeWidth*(yRadius*yRadius) < (strokeWidth*strokeWidth)*xRadius ||
1272 strokeWidth*(xRadius*xRadius) < (strokeWidth*strokeWidth)*yRadius) {
1278 innerXRadius = xRadius - strokeWidth;
1279 innerYRadius = yRadius - strokeWidth;
1282 xRadius += strokeWidth;
1283 yRadius += strokeWidth;
1760 SkScalar strokeWidth = stroke.getWidth();
1770 scaledStroke.fX = SkScalarAbs(strokeWidth*(viewMatrix[SkMatrix::kMScaleX] +
1772 scaledStroke.fY = SkScalarAbs(strokeWidth*(viewMatrix[SkMatrix::kMSkewX] +
1776 // if half of strokewidth is greater than radius, we don't handle that right now