Lines Matching defs:rowBytes
75 static SkCanvas* NewRasterDirectN32(int width, int height, SkPMColor* pixels, size_t rowBytes) {
76 return NewRasterDirect(SkImageInfo::MakeN32Premul(width, height), pixels, rowBytes);
194 * return the ImageInfo, rowBytes and origin. The returned address is only valid
199 * On failure, returns NULL and the info, rowBytes, and origin parameters are ignored.
201 void* accessTopLayerPixels(SkImageInfo* info, size_t* rowBytes, SkIPoint* origin = NULL);
207 * return the ImageInfo and rowBytes. The returned address is only valid
212 * On failure, returns NULL and the info and rowBytes parameters are
215 const void* peekPixels(SkImageInfo* info, size_t* rowBytes);
218 * Copy the pixels from the base-layer into the specified buffer (pixels + rowBytes),
263 * then we have two sets of pixels (of equal size), the "src" specified by info+pixels+rowBytes
272 bool writePixels(const SkImageInfo&, const void* pixels, size_t rowBytes, int x, int y);
1159 virtual const void* onPeekPixels(SkImageInfo*, size_t* rowBytes);
1160 virtual void* onAccessTopLayerPixels(SkImageInfo*, size_t* rowBytes);
1473 size_t rowBytes() const { return fRowBytes; }