Searched refs:kTileW (Results 1 – 2 of 2) sorted by relevance
/external/skqp/gm/ |
D | drawimageset.cpp | 93 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw() 97 SkScalar d = SkVector{kM * kTileW, kN * kTileH}.length(); in onDraw() 104 SkRect::MakeWH(kM * kTileW, kN * kTileH).toQuad(src); in onDraw() 106 {kM * kTileW + 10.f, -5.f}, in onDraw() 107 {kM * kTileW - 28.f, kN * kTileH + 40.f}, in onDraw() 117 dst[1] = {-.25 * kM * kTileW, 0}; in onDraw() 118 dst[0] = {5.f / 4.f * kM * kTileW, 0}; in onDraw() 119 dst[3] = {2.f / 3.f * kM * kTileW, 1 / 2.f * kN * kTileH}; in onDraw() 120 dst[2] = {1.f / 3.f * kM * kTileW, 1 / 2.f * kN * kTileH - 0.1f * kTileH}; in onDraw() 133 SkPoint pts[] = {{x * kTileW, 0}, {x * kTileW, kN * kTileH}}; in onDraw() [all …]
|
/external/skia/gm/ |
D | drawimageset.cpp | 93 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw() 97 SkScalar d = SkVector{kM * kTileW, kN * kTileH}.length(); in onDraw() 104 SkRect::MakeWH(kM * kTileW, kN * kTileH).toQuad(src); in onDraw() 106 {kM * kTileW + 10.f, -5.f}, in onDraw() 107 {kM * kTileW - 28.f, kN * kTileH + 40.f}, in onDraw() 117 dst[1] = {-.25 * kM * kTileW, 0}; in onDraw() 118 dst[0] = {5.f / 4.f * kM * kTileW, 0}; in onDraw() 119 dst[3] = {2.f / 3.f * kM * kTileW, 1 / 2.f * kN * kTileH}; in onDraw() 120 dst[2] = {1.f / 3.f * kM * kTileW, 1 / 2.f * kN * kTileH - 0.1f * kTileH}; in onDraw() 133 SkPoint pts[] = {{x * kTileW, 0}, {x * kTileW, kN * kTileH}}; in onDraw() [all …]
|