Lines Matching defs:maxX
33 const unsigned maxX = s.fPixmap.width() - 1;
46 // Check if we're safely inside [0...maxX] so no need to clamp each computed index.
48 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX &&
49 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX)
65 SkASSERT(index <= maxX);
71 dst[i] = src[SkTPin<int>(SkFractionalIntToInt(fx), 0, maxX)];
304 const int maxX = s.fPixmap.width() - 1;
323 if (ix <= maxX) {
324 int n = std::min(maxX - ix + 1, count);
334 sk_memset32(colors, row[maxX], count);