Lines Matching refs:stroke

18 // This class iterates over the stroke geometry defined by a path and stroke. It automatically
23 // StrokeIterator iter(path, stroke);
34 StrokeIterator(const SkPath& path, const SkStrokeRec* stroke, const SkMatrix* viewMatrix)
35 : fViewMatrix(viewMatrix), fStroke(stroke) {
42 // Verbs that describe stroke geometry.
47 kCircle, // A stroke-width circle drawn as a 180-degree point stroke.
55 // Must be called first. Loads the next pair of "prev" and "current" stroke. Returns false if
110 // Repeat the first verb, this time as the "current" stroke instead of the prev.
173 // contour's first stroke that we deferred at the beginning.
181 // There are no caps, but inject a "move" so the first stroke doesn't get joined
186 // The "kCircle" verb serves as our barrier to prevent the first stroke from
199 // first stroke (that we will add below).
207 // "Any zero length subpath ... shall be stroked if the 'stroke-linecap' property has
214 // Zero-length contour with butt caps. There are no caps and no first stroke to
219 // Setting the "first" stroke as the circle causes it to be added again below,
220 // this time as the "current" stroke.
228 // Implement degenerate square caps as a stroke-width square in path space.
231 // If the stroke is hairline, draw a 1x1 device-space square instead. This
261 // Setting the "first" stroke as the square causes it to be added again below,
262 // this time as the "current" stroke.
271 // stroke to generate.
275 // Repeat the first verb, this time as the "current" stroke instead of the prev.
311 // Extend the cap by 1/2 stroke width.
333 // Set the the cap back by 1/2 stroke width.