Lines Matching refs:PathSegment
211 class PathSegment { class
243 typedef SkTArray<PathSegment, true> PathSegmentArray;
245 void PathSegment::init() { in init()
255 if (fType == PathSegment::kLine) { in init()
267 SkASSERT(fType == PathSegment::kQuad); in init()
365 segments->back().fType = PathSegment::kLine; in add_line_to_segment()
385 segments->back().fType = PathSegment::kQuad; in add_quad_segment()
405 const PathSegment& segment, in calculate_nearest_point_for_quad()
469 const PathSegment& segment, in precomputation_for_row()
473 if (segment.fType != PathSegment::kQuad) { in precomputation_for_row()
525 const PathSegment& segment, in calculate_side_of_quad()
587 const PathSegment& segment, in distance_to_segment()
594 if (segment.fType == PathSegment::kLine) { in distance_to_segment()
614 SkASSERT(segment.fType == PathSegment::kQuad); in distance_to_segment()
650 PathSegment& segment = (*segments)[a]; in calculate_distance_field_data()
792 SkSTArray<15, PathSegment, true> segments; in GrGenerateDistanceFieldFromPath()