Searched refs:kTileH (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() 107 {kM * kTileW - 28.f, kN * kTileH + 40.f}, in onDraw() 108 {45.f, kN * kTileH - 25.f}}; 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() 140 SkPoint pts[] = {{0, y * kTileH}, {kTileW * kM, y * kTileH}}; in onDraw() 154 entry.fSrcRect = SkRect::MakeWH(kTileW, kTileH).makeInset(kTileW / 4.f, kTileH / 4.f); 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() 107 {kM * kTileW - 28.f, kN * kTileH + 40.f}, in onDraw() 108 {45.f, kN * kTileH - 25.f}}; 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() 140 SkPoint pts[] = {{0, y * kTileH}, {kTileW * kM, y * kTileH}}; in onDraw() 154 entry.fSrcRect = SkRect::MakeWH(kTileW, kTileH).makeInset(kTileW / 4.f, kTileH / 4.f); in onDraw() [all …]
|