Lines Matching refs:kN
113 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw()
117 SkScalar d = SkVector{kM * kTileW, kN * kTileH}.length(); in onDraw()
124 SkRect::MakeWH(kM * kTileW, kN * kTileH).toQuad(src); in onDraw()
127 {kM * kTileW - 28.f, kN * kTileH + 40.f}, in onDraw()
128 {45.f, kN * kTileH - 25.f}}; in onDraw()
139 dst[3] = {2.f / 3.f * kM * kTileW, 1 / 2.f * kN * kTileH}; in onDraw()
140 dst[2] = {1.f / 3.f * kM * kTileW, 1 / 2.f * kN * kTileH - 0.1f * kTileH}; in onDraw()
157 SkPoint pts[] = {{x * kTileW, 0}, {x * kTileW, kN * kTileH}}; in onDraw()
163 for (int y = 1; y < kN; ++y) { in onDraw()
172 canvas->experimental_DrawEdgeAAImageSet(fSet, kM * kN, nullptr, nullptr, &setPaint, in onDraw()
200 static constexpr int kN = 3; member in skiagm::DrawImageSetGM
203 SkCanvas::ImageSetEntry fSet[kM * kN];
215 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw()
221 static constexpr SkScalar kH = kN * kTileH; in onDraw()
251 canvas->experimental_DrawEdgeAAImageSet(fSet, kM * kN, nullptr, nullptr, &paint, in onDraw()
262 SkCanvas::ImageSetEntry scaledSet[kM * kN]; in onDraw()
263 std::copy_n(fSet, kM * kN, scaledSet); in onDraw()
264 for (int i = 0; i < kM * kN; ++i) { in onDraw()
274 canvas->experimental_DrawEdgeAAImageSet(scaledSet, kM * kN, nullptr, nullptr, in onDraw()
285 static constexpr int kN = 2; member in skiagm::DrawImageSetRectToRectGM
288 SkCanvas::ImageSetEntry fSet[kM * kN];