8#ifndef SkImagePriv_DEFINED
9#define SkImagePriv_DEFINED
SK_SPI sk_sp< SkImage > SkMakeImageFromRasterBitmap(const SkBitmap &, SkCopyPixelsMode)
@ kNever_SkCopyPixelsMode
never copy src pixels (even if they are marked mutable)
@ kIfMutable_SkCopyPixelsMode
only copy src pixels if they are marked mutable
@ kAlways_SkCopyPixelsMode
always copy src pixels (even if they are marked immutable)
SkRect SkModifyPaintAndDstForDrawImageRect(const SkImage *image, const SkSamplingOptions &, SkRect src, SkRect dst, bool strictSrcSubset, SkPaint *paint)
const SkPixelRef * SkBitmapImageGetPixelRef(const SkImage *rasterImage)
sk_sp< SkShader > SkMakeBitmapShaderForPaint(const SkPaint &paint, const SkBitmap &src, SkTileMode, SkTileMode, const SkSamplingOptions &, const SkMatrix *localMatrix, SkCopyPixelsMode)
sk_sp< const SkImage > image