Lines Matching refs:kTileWidth
21 inline static constexpr SkScalar kTileWidth = 20.f;
24 // Draw the shape, limited to kTileWidth x kTileHeight. It must apply the local subpixel (tx,
37 canvas->rotate(angle, kTileWidth / 2.f, kTileHeight / 2.f);
59 canvas->drawRect(SkRect::MakeLTRB(kTileWidth / 2.f - width / 2.f, 2.f,
60 kTileWidth / 2.f + width / 2.f, kTileHeight - 2.f),
108 path.moveTo(kTileWidth / 2.f, 2.f);
111 path.quadTo(kTileWidth / 2.f + fDepth, kTileHeight / 2.f,
112 kTileWidth / 2.f, kTileHeight - 2.f);
115 path.lineTo(kTileWidth / 2.f + fDepth, kTileHeight / 2.f);
117 path.lineTo(kTileWidth / 2.f, kTileHeight - 2.f);
187 auto info = SkImageInfo::Make(fSupersampleFactor * kTileWidth,
229 SkRect::MakeWH(kTileWidth, kTileHeight),
230 SkRect::MakeWH(kTileWidth, kTileHeight),
475 static constexpr SkScalar kZoomGridWidth = 8 * ShapeRenderer::kTileWidth + 8.f;
476 static constexpr SkRect kTile = SkRect::MakeWH(ShapeRenderer::kTileWidth,
478 static constexpr SkRect kZoomTile = SkRect::MakeWH(8 * ShapeRenderer::kTileWidth,
533 canvas->translate(x + ShapeRenderer::kTileWidth + 8.f, 4.f);