Lines Matching defs:shape
64 // closing an open rect that wasn't closed in the original shape because it had
186 // shape type keys. Make sure that they are the defaults for other shapes so it doesn't
234 // Nothing other than the flag state is needed in the key for an empty shape
244 // If the output shape turns out to be simple, then we will just use its geometric key
246 // We want ApplyFullStyle(ApplyPathEffect(shape)) to have the same key as
247 // ApplyFullStyle(shape).
272 // we try to get a key for the shape.
371 // The intermediate shape may not be a general path. If we we're just applying
374 // parent shape that would be used to determine the the stroked path's key.
376 // the simpler shape so that applying both path effect and the strokerec all at
385 // The parent shape may have simplified away the strokeRec, check for that here.
436 // If the shape is a regular rect, map to round rect winding parameters, including accounting
527 // TODO: it would be better two store DRRects natively in the shape rather than converting
568 AutoRestoreInverseness(GrShape* shape, const GrStyle& style)
570 : fShape(shape), fInverted(!style.isDashed() && fShape->inverted()) {}
573 // Restore invertedness after any modifications were made to the shape type
597 // Remember if the original shape was closed; in the event we simplify to a point or line
604 // The shape remains a path, so configure the gen ID and canonicalize fill type if possible
625 // Further simplifications to the shape based on the style
633 // For stroke+filled rects, a mitered shape becomes a larger rect and a rounded shape
657 // stroking (and even some of the dashing). Any other shape+style is too complicated to reduce.
686 // Fall through to modifying the shape to respect the new stroke geometry
708 // A point or line that was formed by a degenerate closed shape needs its style updated to
713 // As a closed shape, the line moves from a to b and back to a, producing a 180 degree
719 // the miter limit and becomes a bevel, or a bevel join. In either case, the bevel shape
785 // If we made it here, the stroke was fully applied to the new shape so we can become a fill.