Searched refs:hInv (Results 1 – 2 of 2) sorted by relevance
65 SkScalar hInv = SK_Scalar1 / texture->height(); in MakeTexelDomain() local68 texelRect.fTop * hInv, in MakeTexelDomain()70 texelRect.fBottom * hInv in MakeTexelDomain()78 SkScalar hInv = SK_Scalar1 / texture->height(); in MakeTexelDomainForMode() local82 (texelRect.fTop + inset) * hInv, in MakeTexelDomainForMode()84 (texelRect.fBottom - inset) * hInv in MakeTexelDomainForMode()
1109 SkScalar hInv = SkScalarInvert(SkIntToScalar(texture->height())); in internalDrawBitmap() local1111 SkScalarMul(srcRect.fTop, hInv), in internalDrawBitmap()1113 SkScalarMul(srcRect.fBottom, hInv)); in internalDrawBitmap()1122 texMatrix.setScale(wInv, hInv); in internalDrawBitmap()