Lines Matching refs:shape
213 const GrShape& shape,
218 if ((shape.isRect() || shape.isRRect()) &&
221 // The clip shape is a round rect. Attempt to map it to a round rect in "viewMatrix" space.
224 if (shape.isRect()) {
225 clipRRect.setRect(shape.rect());
227 clipRRect = shape.rrect();
250 if (shape.isRect()) {
251 clipRRect.setRect(clipToView.mapRect(shape.rect()));
253 if (!shape.rrect().transform(clipToView, &clipRRect)) {
261 // Intersect our round rect with the clip shape.