Go to the source code of this file.
|
SK_API sk_sp< SkSurface > | SkSurfaces::Null (int width, int height) |
| Returns SkSurface without backing pixels. More...
|
|
SK_API sk_sp< SkSurface > | SkSurfaces::Raster (const SkImageInfo &imageInfo, size_t rowBytes, const SkSurfaceProps *surfaceProps) |
| Allocates raster SkSurface. More...
|
|
sk_sp< SkSurface > | SkSurfaces::Raster (const SkImageInfo &imageInfo, const SkSurfaceProps *props=nullptr) |
|
SK_API sk_sp< SkSurface > | SkSurfaces::WrapPixels (const SkImageInfo &imageInfo, void *pixels, size_t rowBytes, const SkSurfaceProps *surfaceProps=nullptr) |
| Allocates raster SkSurface. More...
|
|
sk_sp< SkSurface > | SkSurfaces::WrapPixels (const SkPixmap &pm, const SkSurfaceProps *props=nullptr) |
|
SK_API sk_sp< SkSurface > | SkSurfaces::WrapPixels (const SkImageInfo &imageInfo, void *pixels, size_t rowBytes, PixelsReleaseProc, void *context, const SkSurfaceProps *surfaceProps=nullptr) |
| Allocates raster SkSurface. More...
|
|