Home
last modified time | relevance | path

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

/external/skia/gm/
Dlattice.cpp24 const int kCap = 28; in make_image() local
26 const int kSize = 2*kCap + 3*kMid; in make_image()
34 const SkScalar radius = SkIntToScalar(kCap) - strokeWidth/2; in make_image()
36 xDivs[0] = kCap + padLeft; in make_image()
37 yDivs[0] = kCap + padTop; in make_image()
38 xDivs[1] = kCap + kMid + padLeft; in make_image()
39 yDivs[1] = kCap + kMid + padTop; in make_image()
40 xDivs[2] = kCap + 2 * kMid + padLeft; in make_image()
41 yDivs[2] = kCap + 2 * kMid + padTop; in make_image()
42 xDivs[3] = kCap + 3 * kMid + padLeft; in make_image()
[all …]
Dnonclosedpaths.cpp81 constexpr SkPaint::Cap kCap[] = { in onDraw() local
100 for (size_t cap = 0; cap < SK_ARRAY_COUNT(kCap); ++cap) { in onDraw()
110 paint.setStrokeCap(kCap[cap]); in onDraw()