Lines Matching refs:kTileWidth
22 static constexpr SkScalar kTileWidth = 20.f; member in skiagm::ShapeRenderer
40 canvas->rotate(angle, kTileWidth / 2.f, kTileHeight / 2.f); in applyLocalTransform()
62 canvas->drawRect(SkRect::MakeLTRB(kTileWidth / 2.f - width / 2.f, 2.f, in draw()
63 kTileWidth / 2.f + width / 2.f, kTileHeight - 2.f), in draw()
111 path.moveTo(kTileWidth / 2.f, 2.f); in draw()
114 path.quadTo(kTileWidth / 2.f + fDepth, kTileHeight / 2.f, in draw()
115 kTileWidth / 2.f, kTileHeight - 2.f); in draw()
118 path.lineTo(kTileWidth / 2.f + fDepth, kTileHeight / 2.f); in draw()
120 path.lineTo(kTileWidth / 2.f, kTileHeight - 2.f); in draw()
190 auto info = SkImageInfo::Make(fSupersampleFactor * kTileWidth, in prepareBuffer()
228 canvas->drawImageRect(fLastRendered, SkRect::MakeWH(kTileWidth, kTileHeight), &blit); in redraw()
478 static constexpr SkScalar kZoomGridWidth = 8 * ShapeRenderer::kTileWidth + 8.f; in drawShape()
479 static constexpr SkRect kTile = SkRect::MakeWH(ShapeRenderer::kTileWidth, in drawShape()
481 static constexpr SkRect kZoomTile = SkRect::MakeWH(8 * ShapeRenderer::kTileWidth, in drawShape()
537 canvas->translate(x + ShapeRenderer::kTileWidth + 8.f, 4.f); in drawShape()