Lines Matching defs:shape
252 SkPath* shape = &fShape;
253 if (shape->isEmpty()) {
254 shape = nullptr;
256 fDevice->finishContentEntry(fClipStack, fBlendMode, fDstFormXObject, shape);
263 /* Returns true when we explicitly need the shape of the drawing. */
281 /* Returns true unless we only need the shape of the drawing. */
289 /* If the shape is different than the alpha component of the content, then
290 * setShape should be called with the shape. In particular, images and
291 * devices have rectangular shape.
293 void setShape(const SkPath& shape) {
294 fShape = shape;
1283 SkPath* shape) {
1325 // if source has shape, we need to clip it too, so a copy of the clip is
1332 // If nothing was drawn and there's no shape, then the draw was a
1334 // If there is shape, then an empty source with Src, SrcIn, SrcOut,
1337 if (shape == nullptr || blendMode == SkBlendMode::kDstOut ||
1353 // the shape of what's been drawn at all times. It's the intersection of
1354 // the non-transparent parts of the device and the outlines (shape) of
1358 if (shape != nullptr) {
1359 // Draw shape into a form-xobject.
1366 SkMatrix::I(), *shape, filledPaint, true);
1585 // Retrieve the bounds of the new shape.
1620 // shape in the bitmap.
1651 SkPath shape = SkPath::Rect(SkRect::Make(subset)).makeTransform(matrix);
1652 content.setShape(shape);
1712 SkPath shape = SkPath::Rect(SkRect::Make(device->imageInfo().dimensions()));
1713 shape.transform(matrix);
1714 content.setShape(shape);