Lines Matching defs:height

123     if (info.width() < 0 || info.height() < 0) {
174 SkASSERT(dy >= 0 && this->height() + dy <= pr->height());
200 fPixelRef = p ? sk_make_sp<SkPixelRef>(this->width(), this->height(), p, rb) : nullptr;
213 bool SkBitmap::tryAllocN32Pixels(int width, int height, bool isOpaque) {
214 SkImageInfo info = SkImageInfo::MakeN32(width, height,
219 void SkBitmap::allocN32Pixels(int width, int height, bool isOpaque) {
220 SkImageInfo info = SkImageInfo::MakeN32(width, height,
234 info.colorType(), info.alphaType(), info.width(), info.height(), this->rowBytes());
319 SkMakePixelRefWithProc(correctedInfo.width(), correctedInfo.height(),
336 mask.fBounds.height()),
389 SkASSERT((unsigned)y < (unsigned)this->height());
420 this->erase(c, SkIRect::MakeWH(this->width(), this->height()));
434 srcRect.setWH(this->width(), this->height());
442 SkASSERT(static_cast<unsigned>(r.fTop) < static_cast<unsigned>(this->height()));
480 if (!rec.trim(this->width(), this->height())) {
502 for (int y = 0; y < src.height(); ++y) {
508 return SkConvertPixels(SkImageInfo::MakeA8(pmap.width(), pmap.height()), alpha, alphaRowBytes,
524 if (this->width() == 0 || this->height() == 0) {
527 srcM.fBounds.setWH(this->width(), this->height());
542 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes);
546 tmpBitmap.width(), tmpBitmap.height());
565 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()),
570 tmpBitmap.width(), tmpBitmap.height());
604 SkASSERT(fPixelRef->height() >= (int)this->height() + origin.fY);