Lines Matching refs:shape
642 SkPath* shape = &fShape;
643 if (shape->isEmpty()) {
644 shape = NULL;
646 fDevice->finishContentEntry(fXfermode, fDstFormXObject, shape);
653 /* Returns true when we explicitly need the shape of the drawing. */
671 /* Returns true unless we only need the shape of the drawing. */
679 /* If the shape is different than the alpha component of the content, then
680 * setShape should be called with the shape. In particular, images and
681 * devices have rectangular shape.
683 void setShape(const SkPath& shape) {
684 fShape = shape;
696 // Shape has to be flatten before we get here.
1368 SkPath shape;
1369 shape.addRect(SkRect::MakeXYWH(SkIntToScalar(x), SkIntToScalar(y),
1372 content.setShape(shape);
1880 SkPath* shape) {
1917 // if source has shape, we need to clip it too, so a copy of the clip is
1928 // If nothing was drawn and there's no shape, then the draw was a
1930 // If there is shape, then an empty source with Src, SrcIn, SrcOut,
1933 if (shape == NULL || xfermode == SkXfermode::kDstOut_Mode ||
1953 // the shape of what's been drawn at all times. It's the intersection of
1954 // the non-transparent parts of the device and the outlines (shape) of
1962 if (shape != NULL) {
1963 // Draw shape into a form-xobject.
1971 this->drawPath(d, *shape, filledPaint, NULL, true);
2224 // Retrieve the bounds of the new shape.
2273 // shape in the bitmap.
2310 SkPath shape;
2311 shape.addRect(SkRect::MakeWH(SkIntToScalar(subset.width()),
2313 shape.transform(matrix);
2314 content.setShape(shape);