Lines Matching refs:kTileWidth
21 inline static constexpr SkScalar kTileWidth = 20.f; member in skiagm::ShapeRenderer
37 canvas->rotate(angle, kTileWidth / 2.f, kTileHeight / 2.f); in applyLocalTransform()
59 canvas->drawRect(SkRect::MakeLTRB(kTileWidth / 2.f - width / 2.f, 2.f, in draw()
60 kTileWidth / 2.f + width / 2.f, kTileHeight - 2.f), in draw()
108 path.moveTo(kTileWidth / 2.f, 2.f); in draw()
111 path.quadTo(kTileWidth / 2.f + fDepth, kTileHeight / 2.f, in draw()
112 kTileWidth / 2.f, kTileHeight - 2.f); in draw()
115 path.lineTo(kTileWidth / 2.f + fDepth, kTileHeight / 2.f); in draw()
117 path.lineTo(kTileWidth / 2.f, kTileHeight - 2.f); in draw()
187 auto info = SkImageInfo::Make(fSupersampleFactor * kTileWidth, in prepareBuffer()
229 SkRect::MakeWH(kTileWidth, kTileHeight), in redraw()
230 SkRect::MakeWH(kTileWidth, kTileHeight), in redraw()
475 static constexpr SkScalar kZoomGridWidth = 8 * ShapeRenderer::kTileWidth + 8.f; in drawShape()
476 static constexpr SkRect kTile = SkRect::MakeWH(ShapeRenderer::kTileWidth, in drawShape()
478 static constexpr SkRect kZoomTile = SkRect::MakeWH(8 * ShapeRenderer::kTileWidth, in drawShape()
533 canvas->translate(x + ShapeRenderer::kTileWidth + 8.f, 4.f); in drawShape()