Lines Matching refs:this
4 * Use of this source code is governed by a BSD-style license that can be
176 SkImageInfo. The smart pointer tracks the number of objects sharing this
197 SkIRect bounds() const { return SkIRect::MakeWH(this->width(), this->height()); }
204 int rowBytesAsPixels() const { return int(fRowBytes >> this->shiftPerPixel()); }
372 return (const uint8_t*)((const char*)this->addr8() + (size_t)y * fRowBytes + (x << 0));
390 return (const uint16_t*)((const char*)this->addr16() + (size_t)y * fRowBytes + (x << 1));
408 return (const uint32_t*)((const char*)this->addr32() + (size_t)y * fRowBytes + (x << 2));
426 return (const uint64_t*)((const char*)this->addr64() + (size_t)y * fRowBytes + (x << 3));
447 return reinterpret_cast<const uint16_t*>(this->addr64(x, y));
466 return const_cast<void*>(this->addr(x, y));
480 return const_cast<uint8_t*>(this->addr8(x, y));
494 return const_cast<uint16_t*>(this->addr16(x, y));
509 return const_cast<uint32_t*>(this->addr32(x, y));
523 return const_cast<uint64_t*>(this->addr64(x, y));
564 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0);
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);
683 bool erase(SkColor color) const { return this->erase(color, this->bounds()); }
697 return this->erase(color, nullptr, subset);