Go to the source code of this file.
◆ draw_orientation()
Definition at line 24 of file SkPixmapUtils.cpp.
24 {
26 if (!surf) {
27 return false;
28 }
29
32
34
37 surf->getCanvas()->concat(
m);
39 return true;
40}
static SkMatrix SkEncodedOriginToMatrix(SkEncodedOrigin origin, int w, int h)
bool installPixels(const SkImageInfo &info, void *pixels, size_t rowBytes, void(*releaseProc)(void *addr, void *context), void *context)
SK_API sk_sp< SkImage > RasterFromBitmap(const SkBitmap &bitmap)
SK_API sk_sp< SkSurface > WrapPixels(const SkImageInfo &imageInfo, void *pixels, size_t rowBytes, const SkSurfaceProps *surfaceProps=nullptr)
SkSamplingOptions(SkFilterMode::kLinear))