Flutter Engine
The Flutter Engine
|
#include <GrPixmap.h>
Public Member Functions | |
GrPixmap ()=default | |
GrPixmap (const GrPixmap &)=default | |
GrPixmap (GrPixmap &&)=default | |
GrPixmap & | operator= (const GrPixmap &)=default |
GrPixmap & | operator= (GrPixmap &&)=default |
GrPixmap (GrImageInfo info, void *addr, size_t rowBytes) | |
GrPixmap (const SkPixmap &pixmap) | |
Public Member Functions inherited from GrPixmapBase< void, GrPixmap > | |
const GrImageInfo & | info () const |
const GrColorInfo & | colorInfo () const |
void * | addr () const |
size_t | rowBytes () const |
bool | hasPixels () const |
bool | ownsPixels () const |
sk_sp< SkData > | pixelStorage () const |
int | width () const |
int | height () const |
SkISize | dimensions () const |
GrColorType | colorType () const |
SkAlphaType | alphaType () const |
SkColorSpace * | colorSpace () const |
sk_sp< SkColorSpace > | refColorSpace () const |
GrPixmap | clip (SkISize surfaceDims, SkIPoint *surfacePt) |
Static Public Member Functions | |
static GrPixmap | Allocate (const GrImageInfo &info) |
Additional Inherited Members | |
Protected Member Functions inherited from GrPixmapBase< void, GrPixmap > | |
GrPixmapBase ()=default | |
GrPixmapBase (const GrPixmapBase &that)=default | |
GrPixmapBase (GrPixmapBase &&that)=default | |
GrPixmapBase (GrImageInfo info, void *addr, size_t rowBytes) | |
GrPixmapBase (GrImageInfo info, sk_sp< SkData > storage, size_t rowBytes) | |
GrPixmapBase & | operator= (const GrPixmapBase &that)=default |
GrPixmapBase & | operator= (GrPixmapBase &&that)=default |
A pixmap with mutable pixels.
Definition at line 83 of file GrPixmap.h.
|
default |
|
default |
|
default |
|
inline |
Definition at line 91 of file GrPixmap.h.
|
inline |
Definition at line 94 of file GrPixmap.h.
|
inlinestatic |
Returns a GrPixmap that owns its backing store. Copies of the pixmap (as GrPixmap or GrCPixmap) will share ownership.
Definition at line 101 of file GrPixmap.h.