• Home
  • Raw
  • Download

Lines Matching refs:fY

128         if (radii[i].fX <= 0 || radii[i].fY <= 0) {  in clamp_to_zero()
134 radii[i].fY = 0; in clamp_to_zero()
208 scale = compute_min_scale(fRadii[1].fY, fRadii[2].fY, height, scale); in scaleRadii()
210 scale = compute_min_scale(fRadii[3].fY, fRadii[0].fY, height, scale); in scaleRadii()
213 flush_to_zero(fRadii[1].fY, fRadii[2].fY); in scaleRadii()
215 flush_to_zero(fRadii[3].fY, fRadii[0].fY); in scaleRadii()
219 SkScaleToSides::AdjustRadii(height, scale, &fRadii[1].fY, &fRadii[2].fY); in scaleRadii()
221 SkScaleToSides::AdjustRadii(height, scale, &fRadii[3].fY, &fRadii[0].fY); in scaleRadii()
247 y < fRect.fTop + fRadii[kUpperLeft_Corner].fY) { in checkCornerContainment()
251 y - (fRect.fTop + fRadii[kUpperLeft_Corner].fY)); in checkCornerContainment()
252 SkASSERT(canonicalPt.fX < 0 && canonicalPt.fY < 0); in checkCornerContainment()
254 y > fRect.fBottom - fRadii[kLowerLeft_Corner].fY) { in checkCornerContainment()
258 y - (fRect.fBottom - fRadii[kLowerLeft_Corner].fY)); in checkCornerContainment()
259 SkASSERT(canonicalPt.fX < 0 && canonicalPt.fY > 0); in checkCornerContainment()
261 y < fRect.fTop + fRadii[kUpperRight_Corner].fY) { in checkCornerContainment()
265 y - (fRect.fTop + fRadii[kUpperRight_Corner].fY)); in checkCornerContainment()
266 SkASSERT(canonicalPt.fX > 0 && canonicalPt.fY < 0); in checkCornerContainment()
268 y > fRect.fBottom - fRadii[kLowerRight_Corner].fY) { in checkCornerContainment()
272 y - (fRect.fBottom - fRadii[kLowerRight_Corner].fY)); in checkCornerContainment()
273 SkASSERT(canonicalPt.fX > 0 && canonicalPt.fY > 0); in checkCornerContainment()
286 SkScalar dist = SkScalarSquare(canonicalPt.fX) * SkScalarSquare(fRadii[index].fY) + in checkCornerContainment()
287 SkScalarSquare(canonicalPt.fY) * SkScalarSquare(fRadii[index].fX); in checkCornerContainment()
288 return dist <= SkScalarSquare(fRadii[index].fX * fRadii[index].fY); in checkCornerContainment()
292 return SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY, tolerance) && in AllCornersCircular()
293 SkScalarNearlyEqual(rr.fRadii[1].fX, rr.fRadii[1].fY, tolerance) && in AllCornersCircular()
294 SkScalarNearlyEqual(rr.fRadii[2].fX, rr.fRadii[2].fY, tolerance) && in AllCornersCircular()
295 SkScalarNearlyEqual(rr.fRadii[3].fX, rr.fRadii[3].fY, tolerance); in AllCornersCircular()
321 radii[SkRRect::kUpperLeft_Corner].fY == radii[SkRRect::kUpperRight_Corner].fY && in radii_are_nine_patch()
323 radii[SkRRect::kLowerLeft_Corner].fY == radii[SkRRect::kLowerRight_Corner].fY; in radii_are_nine_patch()
339 bool allCornersSquare = 0 == fRadii[0].fX || 0 == fRadii[0].fY; in computeType()
342 if (0 != fRadii[i].fX && 0 != fRadii[i].fY) { in computeType()
347 if (fRadii[i].fX != fRadii[i-1].fX || fRadii[i].fY != fRadii[i-1].fY) { in computeType()
360 fRadii[0].fY >= SkScalarHalf(fRect.height())) { in computeType()
425 dst->fRadii[i].fY = SkScalarHalf(newRect.height()); in transform()
446 dst->fRadii[i].fY = fRadii[i].fY * yScale; in transform()
507 if (radii[i].fY) { in inset()
508 radii[i].fY -= dy; in inset()
584 bool allRadiiZero = (0 == fRadii[0].fX && 0 == fRadii[0].fY); in isValid()
585 bool allCornersSquare = (0 == fRadii[0].fX || 0 == fRadii[0].fY); in isValid()
589 if (0 != fRadii[i].fX || 0 != fRadii[i].fY) { in isValid()
593 if (fRadii[i].fX != fRadii[i-1].fX || fRadii[i].fY != fRadii[i-1].fY) { in isValid()
597 if (0 != fRadii[i].fX && 0 != fRadii[i].fY) { in isValid()
625 !SkScalarNearlyEqual(fRadii[i].fY, SkScalarHalf(fRect.height()))) { in isValid()
658 !are_radius_check_predicates_valid(radii[i].fY, rect.fTop, rect.fBottom)) { in AreRectAndRadiiValid()