Home | History | Annotate | Download | only in core

Lines Matching defs:maxX

386     const int maxX = s.fPixmap.width() - 1;
405 if (ix <= maxX) {
406 int n = SkMin32(maxX - ix + 1, count);
416 sk_memset32(colors, row[maxX], count);
778 const unsigned maxX = s.fPixmap.width() - 1;
791 // Check if we're safely inside [0...maxX] so no need to clamp each computed index.
793 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX &&
794 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX)
810 SkASSERT(index <= maxX);
816 dst[i] = src[SkClampMax(SkFractionalIntToInt(fx), maxX)];