Searched refs:texelRect (Results 1 – 1 of 1) sorted by relevance
68 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode mode) { in MakeTexelDomain() argument69 return MakeTexelDomain(texelRect, mode, mode); in MakeTexelDomain()72 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode modeX, Mode modeY) { in MakeTexelDomain() argument74 SkScalar insetX = ((modeX == kClamp_Mode || modeX == kDecal_Mode) && texelRect.width() > 0) in MakeTexelDomain()76 SkScalar insetY = ((modeY == kClamp_Mode || modeY == kDecal_Mode) && texelRect.height() > 0) in MakeTexelDomain()78 return SkRect::MakeLTRB(texelRect.fLeft + insetX, texelRect.fTop + insetY, in MakeTexelDomain()79 texelRect.fRight - insetX, texelRect.fBottom - insetY); in MakeTexelDomain()