Lines Matching refs:PathSegment
210 class PathSegment { class
242 typedef SkTArray<PathSegment, true> PathSegmentArray;
244 void PathSegment::init() { in init()
254 if (fType == PathSegment::kLine) { in init()
266 SkASSERT(fType == PathSegment::kQuad); in init()
364 segments->back().fType = PathSegment::kLine; in add_line_to_segment()
384 segments->back().fType = PathSegment::kQuad; in add_quad_segment()
404 const PathSegment& segment, in calculate_nearest_point_for_quad()
468 const PathSegment& segment, in precomputation_for_row()
472 if (segment.fType != PathSegment::kQuad) { in precomputation_for_row()
524 const PathSegment& segment, in calculate_side_of_quad()
586 const PathSegment& segment, in distance_to_segment()
593 if (segment.fType == PathSegment::kLine) { in distance_to_segment()
613 SkASSERT(segment.fType == PathSegment::kQuad); in distance_to_segment()
649 PathSegment& segment = (*segments)[a]; in calculate_distance_field_data()
788 SkSTArray<15, PathSegment, true> segments; in GrGenerateDistanceFieldFromPath()