Home | History | Annotate | Download | only in core

Lines Matching defs:SkBitmap

28 /** \class SkBitmap
30 The SkBitmap class specifies a raster bitmap. A bitmap has an integer width
34 A const SkBitmap exposes getAddr(), which lets a caller write its pixels;
38 class SK_API SkBitmap {
67 SkBitmap();
76 SkBitmap(const SkBitmap& src);
78 ~SkBitmap();
83 SkBitmap& operator=(const SkBitmap& src);
87 void swap(SkBitmap& other);
133 /** Return the address of the pixels for this SkBitmap.
232 static bool ComputeIsOpaque(const SkBitmap&);
512 bool extractSubset(SkBitmap* dst, const SkIRect& subset) const;
526 bool copyTo(SkBitmap* dst, Config c, Allocator* allocator = NULL) const;
535 bool deepCopyTo(SkBitmap* dst, Config c) const;
561 bool extractAlpha(SkBitmap* dst) const {
565 bool extractAlpha(SkBitmap* dst, const SkPaint* paint,
583 bool extractAlpha(SkBitmap* dst, const SkPaint* paint, Allocator* allocator,
609 virtual bool allocPixelRef(SkBitmap*, SkColorTable*) = 0;
620 virtual bool allocPixelRef(SkBitmap*, SkColorTable*);
702 int extractMipLevel(SkBitmap* dst, SkFixed sx, SkFixed sy);
711 SkAutoLockPixels(const SkBitmap& bm, bool doLock = true) : fBitmap(bm) {
724 const SkBitmap& fBitmap;
739 explicit SkAutoLockColors(const SkBitmap& bm) {
772 const SkPMColor* lockColors(const SkBitmap& bm) {
783 inline uint32_t* SkBitmap::getAddr32(int x, int y) const {
790 inline uint16_t* SkBitmap::getAddr16(int x, int y) const {
797 inline uint8_t* SkBitmap::getAddr8(int x, int y) const {
804 inline SkPMColor SkBitmap::getIndex8Color(int x, int y) const {
813 inline uint8_t* SkBitmap::getAddr1(int x, int y) const {