Searched refs:hInv (Results 1 – 4 of 4) sorted by relevance
61 SkScalar hInv = SK_Scalar1 / texture->height(); in MakeTexelDomain() local64 texelRect.fTop * hInv, in MakeTexelDomain()66 texelRect.fBottom * hInv in MakeTexelDomain()
53 SkScalar hInv = SK_Scalar1 / texture->height(); in MakeTexelDomain() local56 texelRect.fTop * hInv, in MakeTexelDomain()58 texelRect.fBottom * hInv in MakeTexelDomain()
1304 SkScalar hInv = SkScalarInvert(SkIntToScalar(texture->height())); in internalDrawBitmap() local1306 SkScalarMul(srcRect.fTop, hInv), in internalDrawBitmap()1308 SkScalarMul(srcRect.fBottom, hInv)); in internalDrawBitmap()
1335 SkScalar hInv = SkScalarInvert(SkIntToScalar(texture->height())); in internalDrawBitmap() local1337 SkScalarMul(srcRect.fTop, hInv), in internalDrawBitmap()1339 SkScalarMul(srcRect.fBottom, hInv)); in internalDrawBitmap()