Lines Matching defs:shape

555         // modify geometry and edge flags to represent intersected shape of clip and draw.
920 GrStyledShape shape(path, GrStyledShape::DoSimplify::kNo);
927 canDrawArgs.fShape = &shape;
946 args.fShape = &shape;
1269 // transformed shadow shape to the original shape in that corner. The max
1560 GrStyledShape shape(path, style, DoSimplify::kNo);
1561 this->drawShape(clip, std::move(paint), aa, viewMatrix, std::move(shape));
1568 GrStyledShape&& shape) {
1574 if (shape.isEmpty()) {
1575 if (shape.inverseFilled()) {
1584 this->drawShapeUsingPathRenderer(clip, std::move(paint), aa, viewMatrix, std::move(shape),
1626 GrStyledShape shape(path, GrStyle::SimpleFill());
1631 canDrawArgs.fShape = &shape;
1655 &shape,
1725 const GrStyledShape& shape) {
1726 if (!shape.style().hasPathEffect()) {
1732 if (shape.asLine(linePts, &inverted) && !inverted &&
1733 shape.style().strokeRec().getStyle() == SkStrokeRec::kStroke_Style &&
1734 shape.style().strokeRec().getCap() != SkPaint::kRound_Cap) {
1743 !SkDrawTreatAAStrokeAsHairline(shape.style().strokeRec().getWidth(), viewMatrix,
1746 shape.style().strokeRec());
1749 } else if (shape.asRRect(&rrect, nullptr, nullptr, &inverted) && !inverted) {
1752 &shape.style());
1756 shape.style());
1759 this->drawRRect(clip, std::move(*paint), aa, viewMatrix, rrect, shape.style());
1762 shape.style().isSimpleFill() &&
1768 if (shape.asNestedRects(rects)) {
1788 GrStyledShape&& shape,
1794 if (!viewMatrix.isFinite() || !shape.bounds().isFinite()) {
1807 canDrawArgs.fShape = &shape;
1820 if (!shape.style().strokeRec().isFillStyle() && !shape.isEmpty()) {
1829 // The shape isn't a stroke that can be drawn directly. Simplify if possible.
1830 shape.simplify();
1832 if (shape.isEmpty() && !shape.inverseFilled()) {
1836 if (attemptDrawSimple || shape.simplified()) {
1837 // Usually we enter drawShapeUsingPathRenderer() because the shape+style was too complex
1840 if (this->drawSimpleShape(clip, &paint, aa, viewMatrix, shape)) {
1855 if (!pr && shape.style().pathEffect()) {
1857 shape = shape.applyStyle(GrStyle::Apply::kPathEffectOnly, styleScale);
1858 if (shape.isEmpty()) {
1865 if (shape.style().applies()) {
1866 shape = shape.applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, styleScale);
1867 if (shape.isEmpty()) {