Lines Matching refs:kTileW
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()
106 {kM * kTileW + 10.f, -5.f}, in onDraw()
107 {kM * kTileW - 28.f, kN * kTileH + 40.f}, in onDraw()
117 dst[1] = {-.25 * kM * kTileW, 0}; in onDraw()
118 dst[0] = {5.f / 4.f * kM * kTileW, 0}; 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()
140 SkPoint pts[] = {{0, y * kTileH}, {kTileW * kM, y * kTileH}}; in onDraw()
154 entry.fSrcRect = SkRect::MakeWH(kTileW, kTileH).makeInset(kTileW / 4.f, kTileH / 4.f); in onDraw()
155 entry.fDstRect = SkRect::MakeWH(2 * kTileW, 2 * kTileH).makeOffset(d / 4, 2 * d); in onDraw()
168 static constexpr SkScalar kTileW = 30; member in skiagm::DrawImageSetGM
182 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw()
187 static constexpr SkScalar kW = kM * kTileW; in onDraw()
249 static constexpr int kTileW = 40; member in skiagm::DrawImageSetRectToRectGM