Lines Matching refs:kN
93 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw()
97 SkScalar d = SkVector{kM * kTileW, kN * kTileH}.length(); in onDraw()
104 SkRect::MakeWH(kM * kTileW, kN * kTileH).toQuad(src); in onDraw()
107 {kM * kTileW - 28.f, kN * kTileH + 40.f}, in onDraw()
108 {45.f, kN * kTileH - 25.f}}; in onDraw()
119 dst[3] = {2.f / 3.f * kM * kTileW, 1 / 2.f * kN * kTileH}; in onDraw()
120 dst[2] = {1.f / 3.f * kM * kTileW, 1 / 2.f * kN * kTileH - 0.1f * kTileH}; in onDraw()
133 SkPoint pts[] = {{x * kTileW, 0}, {x * kTileW, kN * kTileH}}; in onDraw()
139 for (int y = 1; y < kN; ++y) { in onDraw()
148 canvas->experimental_DrawImageSetV1(fSet, kM * kN, fm, SkBlendMode::kSrcOver); in onDraw()
167 static constexpr int kN = 3; member in skiagm::DrawImageSetGM
170 SkCanvas::ImageSetEntry fSet[kM * kN];
182 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw()
188 static constexpr SkScalar kH = kN * kTileH; in onDraw()
214 canvas->experimental_DrawImageSetV1(fSet, kM * kN, kLow_SkFilterQuality, in onDraw()
225 SkCanvas::ImageSetEntry scaledSet[kM * kN]; in onDraw()
226 std::copy_n(fSet, kM * kN, scaledSet); in onDraw()
227 for (int i = 0; i < kM * kN; ++i) { in onDraw()
237 canvas->experimental_DrawImageSetV1(scaledSet, kM * kN, kLow_SkFilterQuality, in onDraw()
248 static constexpr int kN = 2; member in skiagm::DrawImageSetRectToRectGM
251 SkCanvas::ImageSetEntry fSet[kM * kN];