Lines Matching refs:kRes
59 // We test the bounds by rasterizing the path into a kRes by kRes grid. The bounds is
60 // mapped to the range kRes/4 to 3*kRes/4 in x and y. A difference clip is used to avoid
63 static constexpr int kRes = 2000;
64 // This tolerance is in units of 1/kRes fractions of the bounds width/height.
66 static_assert(kRes % 4 == 0);
67 SkImageInfo info = SkImageInfo::MakeA8(kRes, kRes);
70 SkRect clip = SkRect::MakeXYWH(kRes/4, kRes/4, kRes/2, kRes/2);
82 const uint8_t* kZeros = reinterpret_cast<uint8_t*>(calloc(kRes, 1));
84 static constexpr uint8_t kZeros[kRes] = {0};
86 for (int y = 0; y < kRes; ++y) {
88 if (0 != memcmp(kZeros, row, kRes)) {