Lines Matching defs:line
106 // Strokes a line segment
107 void strokeLine(const PathSegment& line, bool needsMove);
122 // Returns squared magnitude of line segments.
180 void SkPathStroker2::strokeLine(const PathSegment& line, bool needsMove) {
181 const SkPoint tangent = line.fPoints[1] - line.fPoints[0];
185 fOuter.moveTo(line.fPoints[0] + offset);
186 fInner.moveTo(line.fPoints[0] - offset);
188 fOuter.lineTo(line.fPoints[1] + offset);
189 fInner.lineTo(line.fPoints[1] - offset);
218 // Common path endpoint of the two segments is the midpoint of the miter line.
239 // their rhombus. Origin of this vector is the midpoint of the miter line.
242 // Note the relationship (draw a right triangle with the miter line as its hypoteneuse):
246 // miterVec's origin is the midpoint of the miter line, so we use strokeWidth/2.
266 // line connecting the inner and outer corners of prev at t=0. If len is below