Lines Matching defs:width
142 static bool rect_fits(const SkIRect& rect, int width, int height) {
143 if (0 == width && 0 == height) {
148 return rect.fLeft >= 0 && rect.fLeft < width && rect.fLeft < rect.fRight &&
149 rect.fRight >= 0 && rect.fRight <= width &&
159 SkASSERT(rect_fits(subset, image->width(), image->height()));
203 this->subset().width(), this->subset().height());
272 SkASSERT(rect_fits(subset, bm.width(), bm.height()));
295 SkASSERT(rect_fits(subset, bm.width(), bm.height()));
318 SkIRect::MakeWH(subset.width(), subset.height()), tmp, props);
356 this->subset().width(), this->subset().height());
473 SkASSERT_RELEASE(rect_fits(subset, view.proxy()->width(), view.proxy()->height()));