Lines Matching refs:srcX
567 /** Copies a SkRect of pixels to dstPixels. Copy starts at (srcX, srcY), and does not
582 srcX and srcY may be negative to copy only top or left of source. Returns
584 abs(srcX) >= Pixmap width(), or if abs(srcY) >= Pixmap height().
589 @param srcX column index whose absolute value is less than width()
593 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX,
596 /** Copies a SkRect of pixels to dst. Copy starts at (srcX, srcY), and does not
609 srcX and srcY may be negative to copy only top or left of source. Returns
611 abs(srcX) >= Pixmap width(), or if abs(srcY) >= Pixmap height().
614 @param srcX column index whose absolute value is less than width()
618 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const {
619 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY);