Searched refs:kHexSide (Results 1 – 1 of 1) sorted by relevance
35 constexpr int kHexSide = 30; variable38 constexpr int kPicWidth = kNumHexX * kHexSide;39 constexpr int kPicHeight = (int)((kNumHexY - 0.5f) * 2 * kHexSide * kRoot3Over2 + 0.5f);48 hex.moveTo(originX-kHexSide, originY); in make_hex_path()49 hex.rLineTo(SkScalarHalf(kHexSide), kRoot3Over2 * kHexSide); in make_hex_path()50 hex.rLineTo(SkIntToScalar(kHexSide), 0); in make_hex_path()51 hex.rLineTo(SkScalarHalf(kHexSide), -kHexSide * kRoot3Over2); in make_hex_path()52 hex.rLineTo(-SkScalarHalf(kHexSide), -kHexSide * kRoot3Over2); in make_hex_path()53 hex.rLineTo(-SkIntToScalar(kHexSide), 0); in make_hex_path()88 canvas->translate(xPos, yPos + ((x % 2) ? kRoot3Over2 * kHexSide : 0)); in make_hex_plane_picture()[all …]