Searched refs:texelRect (Results 1 – 1 of 1) sorted by relevance
65 static const SkRect MakeTexelDomain(const SkIRect& texelRect) { in MakeTexelDomain() argument66 return SkRect::Make(texelRect); in MakeTexelDomain()69 static const SkRect MakeTexelDomainForMode(const SkIRect& texelRect, Mode mode) { in MakeTexelDomainForMode() argument71 SkScalar inset = (mode == kClamp_Mode && !texelRect.isEmpty()) ? SK_ScalarHalf : 0; in MakeTexelDomainForMode()72 return SkRect::MakeLTRB(texelRect.fLeft + inset, texelRect.fTop + inset, in MakeTexelDomainForMode()73 texelRect.fRight - inset, texelRect.fBottom - inset); in MakeTexelDomainForMode()