Lines Matching defs:readPixels
842 bool SkCanvas::readPixels(SkBitmap* bitmap, int x, int y) {
858 if (this->readPixels(pm.info(), pm.writable_addr(), pm.rowBytes(), x, y)) {
869 bool SkCanvas::readPixels(const SkIRect& srcRect, SkBitmap* bitmap) {
881 if (!this->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), r.x(), r.y())) {
888 bool SkCanvas::readPixels(const SkImageInfo& dstInfo, void* dstP, size_t rowBytes, int x, int y) {
901 return device->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY);