Home
last modified time | relevance | path

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

/external/skia/gm/
Dconvexpaths.cpp101 kPtsPerSide = (1 << 12), in makePaths() enumerator
104 for (int i = 1; i < kPtsPerSide; ++i) { // skip the first point due to moveTo. in makePaths()
105 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, 0); in makePaths()
107 for (int i = 0; i < kPtsPerSide; ++i) { in makePaths()
108 fPaths.back().lineTo(kLength, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths()
110 for (int i = kPtsPerSide; i > 0; --i) { in makePaths()
111 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, kLength); in makePaths()
113 for (int i = kPtsPerSide; i > 0; --i) { in makePaths()
114 fPaths.back().lineTo(0, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths()