Lines Matching defs:segment
106 // Strokes a line segment
119 // Returns the segment unit normal
140 PathSegment segment, prevSegment;
142 while ((segment.fVerb = it.next(segment.fPoints)) != SkPath::kDone_Verb) {
143 // Join to the previous segment
145 join(prevSegment, segment);
148 // Stroke the current segment
149 switch (segment.fVerb) {
151 strokeLine(segment, firstSegment);
157 SkDebugf("Unhandled path verb %d\n", segment.fVerb);
161 std::swap(segment, prevSegment);
252 // Outer: connect to the miter point, and then to t=0 (on outside stroke) of next segment.
272 // boundary of the curr segment. If len is below this threshold, the miter point
275 // If a segment length is smaller than the larger of the two thresholds,
282 // and then to t=0 (on inside) of the next segment. This adds an interior "loop" of
283 // geometry that handles edge cases where segment lengths are shorter than the