Searched refs:kPtsPerSide (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/gm/ |
D | convexpaths.cpp | 79 kPtsPerSide = (1 << 12), in makePaths() enumerator 82 for (int i = 1; i < kPtsPerSide; ++i) { // skip the first point due to moveTo. in makePaths() 83 b.lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, 0); in makePaths() 85 for (int i = 0; i < kPtsPerSide; ++i) { in makePaths() 86 b.lineTo(kLength, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths() 88 for (int i = kPtsPerSide; i > 0; --i) { in makePaths() 89 b.lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, kLength); in makePaths() 91 for (int i = kPtsPerSide; i > 0; --i) { in makePaths() 92 b.lineTo(0, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths()
|
/third_party/flutter/skia/gm/ |
D | convexpaths.cpp | 103 kPtsPerSide = (1 << 12), in makePaths() enumerator 106 for (int i = 1; i < kPtsPerSide; ++i) { // skip the first point due to moveTo. in makePaths() 107 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, 0); in makePaths() 109 for (int i = 0; i < kPtsPerSide; ++i) { in makePaths() 110 fPaths.back().lineTo(kLength, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths() 112 for (int i = kPtsPerSide; i > 0; --i) { in makePaths() 113 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, kLength); in makePaths() 115 for (int i = kPtsPerSide; i > 0; --i) { in makePaths() 116 fPaths.back().lineTo(0, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths()
|