Lines Matching refs:gPath
166 static SkPath gPath[7]; in TestPath() local
171 gPath[0] = SkPathBuilder().moveTo(0.f, 0.f) in TestPath()
175 gPath[1] = SkPathBuilder().moveTo(0.f, 0.f) in TestPath()
179 gPath[2] = SkPathBuilder().moveTo(0.f, 0.f) in TestPath()
183 gPath[3] = SkPathBuilder().moveTo(0.f, 0.f) in TestPath()
187 gPath[4] = SkPathBuilder().moveTo(0.f, 0.f) in TestPath()
194 gPath[5] = SkPathBuilder().moveTo(0.0f, 0.0f) in TestPath()
201 gPath[6] = SkPathBuilder().moveTo(0.0f, 0.0f) in TestPath()
210 return gPath[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gPath)))]; in TestPath()
214 static SkPath gPath[3]; in TestPathConvex() local
219 gPath[0] = SkPath::Polygon({{-1.5f, -50.0f}, in TestPathConvex()
225 gPath[1] = SkPath::Polygon({{-0.025f, -0.025f}, in TestPathConvex()
231 gPath[2] = SkPath::Polygon({{-10.0f, -50.0f}, in TestPathConvex()
239 for (size_t i = 0; i < SK_ARRAY_COUNT(gPath); i++) { in TestPathConvex()
240 SkASSERT(gPath[i].isConvex()); in TestPathConvex()
244 return gPath[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gPath)))]; in TestPathConvex()