Searched refs:kTriSide (Results 1 – 1 of 1) sorted by relevance
28 constexpr int kTriSide = 40; variable146 tri.rLineTo(SkScalarHalf(kTriSide), 1.5f * kTriSide / kRoot3); in make_tri_path()147 tri.rLineTo(-kTriSide, 0); in make_tri_path()153 SkPath tri = make_tri_path(SkScalarHalf(kTriSide), 0); in make_tri_picture()192 canvas->translate(SkScalarHalf(kTriSide), 0); in make_sub_picture()197 canvas->translate(SkIntToScalar(kTriSide), 1.5f * kTriSide / kRoot3); in make_sub_picture()202 canvas->translate(0, 1.5f * kTriSide / kRoot3); in make_sub_picture()226 canvas->translate(kPicWidth/2 - (i+1) * (kTriSide/2.0f), 0.0f); in make_sierpinski_picture()229 canvas->translate(SkIntToScalar(kTriSide), 0); in make_sierpinski_picture()235 canvas->translate(0, 1.5f * kTriSide / kRoot3); in make_sierpinski_picture()