Flutter Engine
The Flutter Engine
|
#include <SkKeyedImage.h>
Public Member Functions | |
SkKeyedImage () | |
SkKeyedImage (sk_sp< SkImage >) | |
SkKeyedImage (const SkBitmap &) | |
SkKeyedImage (SkKeyedImage &&)=default | |
SkKeyedImage (const SkKeyedImage &)=default | |
SkKeyedImage & | operator= (SkKeyedImage &&)=default |
SkKeyedImage & | operator= (const SkKeyedImage &)=default |
operator bool () const | |
const SkBitmapKey & | key () const |
const sk_sp< SkImage > & | image () const |
sk_sp< SkImage > | release () |
SkKeyedImage | subset (SkIRect subset) const |
This class has all the advantages of SkBitmaps and SkImages.
The SkImage holds on to encoded data. The SkBitmapKey properly de-dups subsets.
Definition at line 22 of file SkKeyedImage.h.
|
inline |
Definition at line 24 of file SkKeyedImage.h.
Definition at line 29 of file SkKeyedImage.cpp.
SkKeyedImage::SkKeyedImage | ( | const SkBitmap & | bm | ) |
Definition at line 33 of file SkKeyedImage.cpp.
|
default |
|
default |
Definition at line 35 of file SkKeyedImage.h.
|
inline |
Definition at line 34 of file SkKeyedImage.h.
|
inlineexplicit |
Definition at line 33 of file SkKeyedImage.h.
|
default |
|
default |
Definition at line 50 of file SkKeyedImage.cpp.
SkKeyedImage SkKeyedImage::subset | ( | SkIRect | subset | ) | const |
Definition at line 39 of file SkKeyedImage.cpp.