Home
last modified time | relevance | path

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

/external/skia/gm/
Dconvex_all_line_paths.cpp26 namespace ConvexLineOnlyData { namespace
179 if (index < (int) SK_ARRAY_COUNT(ConvexLineOnlyData::gPoints)) { in GetPath()
181 points = ConvexLineOnlyData::gPoints[index]; in GetPath()
182 numPts = (int)ConvexLineOnlyData::gSizes[index]; in GetPath()
187 switch (index-SK_ARRAY_COUNT(ConvexLineOnlyData::gPoints)) { in GetPath()
369 if (index < (int)SK_ARRAY_COUNT(ConvexLineOnlyData::gPoints)) { in GetPath()
371 *numPts = (int)ConvexLineOnlyData::gSizes[index]; in GetPath()
375 (*data)[i] = ConvexLineOnlyData::gPoints[index][i]; in GetPath()
379 (*data)[i] = ConvexLineOnlyData::gPoints[index][*numPts - i - 1]; in GetPath()
386 switch (index - SK_ARRAY_COUNT(ConvexLineOnlyData::gPoints)) { in GetPath()