• Home
  • Raw
  • Download

Lines Matching refs:fY

144         if (fRadii[i].fX <= 0 || fRadii[i].fY <= 0) {  in setRectRadii()
150 fRadii[i].fY = 0; in setRectRadii()
182 scale = compute_min_scale(fRadii[1].fY, fRadii[2].fY, height, scale); in scaleRadii()
184 scale = compute_min_scale(fRadii[3].fY, fRadii[0].fY, height, scale); in scaleRadii()
188 SkScaleToSides::AdjustRadii(height, scale, &fRadii[1].fY, &fRadii[2].fY); in scaleRadii()
190 SkScaleToSides::AdjustRadii(height, scale, &fRadii[3].fY, &fRadii[0].fY); in scaleRadii()
210 y < fRect.fTop + fRadii[kUpperLeft_Corner].fY) { in checkCornerContainment()
214 y - (fRect.fTop + fRadii[kUpperLeft_Corner].fY)); in checkCornerContainment()
215 SkASSERT(canonicalPt.fX < 0 && canonicalPt.fY < 0); in checkCornerContainment()
217 y > fRect.fBottom - fRadii[kLowerLeft_Corner].fY) { in checkCornerContainment()
221 y - (fRect.fBottom - fRadii[kLowerLeft_Corner].fY)); in checkCornerContainment()
222 SkASSERT(canonicalPt.fX < 0 && canonicalPt.fY > 0); in checkCornerContainment()
224 y < fRect.fTop + fRadii[kUpperRight_Corner].fY) { in checkCornerContainment()
228 y - (fRect.fTop + fRadii[kUpperRight_Corner].fY)); in checkCornerContainment()
229 SkASSERT(canonicalPt.fX > 0 && canonicalPt.fY < 0); in checkCornerContainment()
231 y > fRect.fBottom - fRadii[kLowerRight_Corner].fY) { in checkCornerContainment()
235 y - (fRect.fBottom - fRadii[kLowerRight_Corner].fY)); in checkCornerContainment()
236 SkASSERT(canonicalPt.fX > 0 && canonicalPt.fY > 0); in checkCornerContainment()
249 SkScalar dist = SkScalarMul(SkScalarSquare(canonicalPt.fX), SkScalarSquare(fRadii[index].fY)) + in checkCornerContainment()
250 SkScalarMul(SkScalarSquare(canonicalPt.fY), SkScalarSquare(fRadii[index].fX)); in checkCornerContainment()
251 return dist <= SkScalarSquare(SkScalarMul(fRadii[index].fX, fRadii[index].fY)); in checkCornerContainment()
255 return fRadii[0].fX == fRadii[0].fY && in allCornersCircular()
256 fRadii[1].fX == fRadii[1].fY && in allCornersCircular()
257 fRadii[2].fX == fRadii[2].fY && in allCornersCircular()
258 fRadii[3].fX == fRadii[3].fY; in allCornersCircular()
284 radii[SkRRect::kUpperLeft_Corner].fY == radii[SkRRect::kUpperRight_Corner].fY && in radii_are_nine_patch()
286 radii[SkRRect::kLowerLeft_Corner].fY == radii[SkRRect::kLowerRight_Corner].fY; in radii_are_nine_patch()
303 bool allCornersSquare = 0 == fRadii[0].fX || 0 == fRadii[0].fY; in computeType()
306 if (0 != fRadii[i].fX && 0 != fRadii[i].fY) { in computeType()
311 if (fRadii[i].fX != fRadii[i-1].fX || fRadii[i].fY != fRadii[i-1].fY) { in computeType()
323 fRadii[0].fY >= SkScalarHalf(fRect.height())) { in computeType()
387 dst->fRadii[i].fY = SkScalarHalf(newRect.height()); in transform()
408 dst->fRadii[i].fY = SkScalarMul(fRadii[i].fY, yScale); in transform()
449 if (radii[i].fY) { in inset()
450 radii[i].fY -= dy; in inset()
518 bool allRadiiZero = (0 == fRadii[0].fX && 0 == fRadii[0].fY); in validate()
519 bool allCornersSquare = (0 == fRadii[0].fX || 0 == fRadii[0].fY); in validate()
523 if (0 != fRadii[i].fX || 0 != fRadii[i].fY) { in validate()
527 if (fRadii[i].fX != fRadii[i-1].fX || fRadii[i].fY != fRadii[i-1].fY) { in validate()
531 if (0 != fRadii[i].fX && 0 != fRadii[i].fY) { in validate()
552 SkASSERT(SkScalarNearlyEqual(fRadii[i].fY, SkScalarHalf(fRect.height()))); in validate()
573 validate_radius_check_predicates(fRadii[i].fY, fRect.fTop, fRect.fBottom); in validate()