Home | History | Annotate | Download | only in core

Lines Matching refs:height

106                 SkIntToScalar(fInfo.width()), SkIntToScalar(fInfo.height()));
111 bounds->set(0, 0, fInfo.width(), fInfo.height());
132 if (info.width() < 0 || info.height() < 0) {
191 SkASSERT(fInfo.height() <= prInfo.height());
213 fPixelRefOrigin.set(SkTPin(dx, 0, info.width()), SkTPin(dy, 0, info.height()));
398 mask.fBounds.height()),
490 for (int row = 0; row < info.height(); ++row) {
538 SkASSERT((unsigned)y < (unsigned)this->height());
570 SkASSERT((unsigned)y < (unsigned)this->height());
625 const int height = pmap.height();
631 for (int y = 0; y < height; ++y) {
660 for (int y = 0; y < height; ++y) {
674 for (int y = 0; y < height; ++y) {
726 this->erase(c, SkIRect::MakeWH(this->width(), this->height()));
740 srcRect.set(0, 0, this->width(), this->height());
750 dst.setInfo(SkImageInfo::Make(subset.width(), subset.height(),
763 SkASSERT(static_cast<unsigned>(r.fTop) < static_cast<unsigned>(this->height()));
766 dst.setInfo(SkImageInfo::Make(r.width(), r.height(), this->colorType(), this->alphaType()),
844 fInfo.width(), fInfo.height());
852 SkASSERT(tmpSrc.height() == this->height());
961 for (int y = 0; y < size.height(); ++y) {
970 int h = pmap.height();
1041 srcM.fBounds.set(0, 0, this->width(), this->height());
1056 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes);
1060 tmpBitmap.width(), tmpBitmap.height());
1079 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()),
1084 tmpBitmap.width(), tmpBitmap.height());
1108 const size_t size = snugRB * info.height();
1111 for (int y = 0; y < info.height(); ++y) {
1129 if (0 == info.width() || 0 == info.height() || nullptr == bitmap.pixelRef()) {
1158 const int height = SkMax32(info.height(), 0);
1159 const uint64_t snugSize = sk_64_mul(snugRB, height);
1160 const uint64_t ramSize = sk_64_mul(ramRB, height);
1171 const unsigned char* srcRow = dst + snugRB * (height - 1);
1172 unsigned char* dstRow = dst + ramRB * (height - 1);
1173 for (int y = height - 1; y >= 1; --y) {
1224 SkBitmap::RLEPixels::RLEPixels(int width, int height) {
1225 fHeight = height;
1226 fYPtrs = (uint8_t**)sk_calloc_throw(height * sizeof(uint8_t*));
1261 SkASSERT(fPixelRef->info().height() >= (int)this->height() + fPixelRefOrigin.fY);
1277 str->appendf("bitmap: ((%d, %d) %s", this->width(), this->height(),
1328 SkASSERT(fPixelRefOrigin.y() + fInfo.height() <= res.fSize.height());