Flutter Engine
The Flutter Engine
|
#include <GrPixmap.h>
Public Member Functions | |
const GrImageInfo & | info () const |
const GrColorInfo & | colorInfo () const |
T * | 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 |
DERIVED | clip (SkISize surfaceDims, SkIPoint *surfacePt) |
Protected Member Functions | |
GrPixmapBase ()=default | |
GrPixmapBase (const GrPixmapBase &that)=default | |
GrPixmapBase (GrPixmapBase &&that)=default | |
GrPixmapBase & | operator= (const GrPixmapBase &that)=default |
GrPixmapBase & | operator= (GrPixmapBase &&that)=default |
GrPixmapBase (GrImageInfo info, T *addr, size_t rowBytes) | |
GrPixmapBase (GrImageInfo info, sk_sp< SkData > storage, size_t rowBytes) | |
Definition at line 15 of file GrPixmap.h.
|
protecteddefault |
|
protecteddefault |
|
protecteddefault |
|
inlineprotected |
Definition at line 63 of file GrPixmap.h.
|
inlineprotected |
Definition at line 70 of file GrPixmap.h.
|
inline |
Definition at line 20 of file GrPixmap.h.
|
inline |
Definition at line 31 of file GrPixmap.h.
|
inline |
Map this pixmap to a rect in a surface of indicated dimensions at offset surfacePt. Clip the logical rectangle to the bounds of the surface. If the rect does not intersect the surface bounds or is empty then return a default GrPixmap. Otherwise, surfacePt is updated to refer to the upper left of the clipped rectangle. The returned pixmap will refer to the portion of the original pixmap inside the surface bounds.
Definition at line 42 of file GrPixmap.h.
|
inline |
Definition at line 18 of file GrPixmap.h.
|
inline |
Definition at line 32 of file GrPixmap.h.
|
inline |
Definition at line 30 of file GrPixmap.h.
|
inline |
Definition at line 29 of file GrPixmap.h.
|
inline |
Definition at line 23 of file GrPixmap.h.
|
inline |
Definition at line 28 of file GrPixmap.h.
|
inline |
Definition at line 17 of file GrPixmap.h.
|
protecteddefault |
|
protecteddefault |
|
inline |
Definition at line 24 of file GrPixmap.h.
|
inline |
Definition at line 25 of file GrPixmap.h.
|
inline |
Definition at line 33 of file GrPixmap.h.
|
inline |
Definition at line 21 of file GrPixmap.h.
|
inline |
Definition at line 27 of file GrPixmap.h.