Lines Matching refs:PathSegment
182 class PathSegment { class
214 typedef SkTArray<PathSegment, true> PathSegmentArray;
216 void PathSegment::init() { in init()
226 if (fType == PathSegment::kLine) { in init()
239 SkASSERT(fType == PathSegment::kQuad); in init()
338 segments->back().fType = PathSegment::kLine; in add_line()
357 segments->back().fType = PathSegment::kQuad; in add_quad()
377 const PathSegment& segment, in calculate_nearest_point_for_quad()
439 void precomputation_for_row(RowData *rowData, const PathSegment& segment, in precomputation_for_row()
441 if (segment.fType != PathSegment::kQuad) { in precomputation_for_row()
493 const PathSegment& segment, in calculate_side_of_quad()
555 const PathSegment& segment, in distance_to_segment()
562 if (segment.fType == PathSegment::kLine) { in distance_to_segment()
582 SkASSERT(segment.fType == PathSegment::kQuad); in distance_to_segment()
619 PathSegment& segment = (*segments)[a]; in calculate_distance_field_data()
765 SkSTArray<15, PathSegment, true> segments; in GrGenerateDistanceFieldFromPath()