Lines Matching defs:info
44 /** Creates SkPixmap from info width, height, SkAlphaType, and SkColorType.
45 addr points to pixels, or nullptr. rowBytes should be info.width() times
46 info.bytesPerPixel(), or larger.
49 addr and rowBytes agree with info.
57 @param info width, height, SkAlphaType, SkColorType of SkImageInfo
62 SkPixmap(const SkImageInfo& info, const void* addr, size_t rowBytes)
63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info)
76 /** Sets width, height, SkAlphaType, and SkColorType from info.
78 Sets row bytes from rowBytes, which should be info.width() times
79 info.bytesPerPixel(), or larger.
87 @param info width, height, SkAlphaType, SkColorType of SkImageInfo
93 void reset(const SkImageInfo& info, const void* addr, size_t rowBytes);
125 const SkImageInfo& info() const { return fInfo; }
128 is at least as large as: width() * info().bytesPerPixel().
146 rowBytes() / info().bytesPerPixel().
603 kGray_8_SkColorType, or kAlpha_8_SkColorType; dst.info().colorType must match.
604 If SkPixmap colorType() is kGray_8_SkColorType, dst.info().colorSpace must match.
605 If SkPixmap alphaType() is kOpaque_SkAlphaType, dst.info().alphaType must
606 match. If SkPixmap colorSpace() is nullptr, dst.info().colorSpace must match. Returns
619 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY);
640 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), 0, 0);