Lines Matching defs:shape
213 void Device::drawShape(const Shape& shape,
230 // applied on the CPU by generating a new shape and recursing on drawShape() with updated flags
238 if (paint.getPathEffect()->filterPath(&dst, shape.asPath(), &newStyle,
246 this->drawShape(shape, paint, style, flags | DrawFlags::kIgnorePathEffect);
255 this->drawShape(shape, paint, style, flags | DrawFlags::kIgnoreMaskFilter);
272 auto [clip, clipOrder] = this->applyClipToDraw(localToDevice, shape, style, order.depth());
299 // TODO: If DC supports stroked primitives, Device could choose one of those based on shape
301 fDC->strokePath(localToDevice, shape, stroke, clip, order, &shading);
305 // TODO: If DC supports filled primitives, Device could choose one of those based on shape
309 // if (shape.convex()) {
310 // fDC->fillConvexPath(localToDevice, shape, clip, order, &shading);
313 fDC->stencilAndFillPath(localToDevice, shape, clip, order, &shading);
318 const bool fullyOpaque = opaque && shape.isRect() &&
320 fColorDepthBoundsManager->recordDraw(shape.bounds(),
333 const Shape& shape,
338 Rect drawBounds = shape.bounds();