Lines Matching defs:height
142 static bool rect_fits(const SkIRect& rect, int width, int height) {
143 if (0 == width && 0 == height) {
150 rect.fTop >= 0 && rect.fTop < height && rect.fTop < rect.fBottom &&
151 rect.fBottom >= 0 && rect.fBottom <= height;
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()));