Home
last modified time | relevance | path

Searched refs:kRoot3 (Results 1 – 2 of 2) sorted by relevance

/external/skia/gm/
Dmultipicturedraw.cpp18 constexpr SkScalar kRoot3 = 1.73205081f; variable
146 tri.rLineTo(SkScalarHalf(kTriSide), 1.5f * kTriSide / kRoot3); in make_tri_path()
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()
235 canvas->translate(0, 1.5f * kTriSide / kRoot3); in make_sierpinski_picture()
/external/skqp/gm/
Dmultipicturedraw.cpp18 constexpr SkScalar kRoot3 = 1.73205081f; variable
146 tri.rLineTo(SkScalarHalf(kTriSide), 1.5f * kTriSide / kRoot3); in make_tri_path()
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()
235 canvas->translate(0, 1.5f * kTriSide / kRoot3); in make_sierpinski_picture()