Searched refs:scaleToFit (Results 1 - 3 of 3) sorted by relevance

/external/skia/include/utils/mac/
H A DSkCGUtils.h27 * Given a CGImage, allocate an SkBitmap and copy the image's pixels into it. If scaleToFit is not
33 SK_API bool SkCreateBitmapFromCGImage(SkBitmap* dst, CGImageRef src, SkISize* scaleToFit = NULL);
/external/skia/src/utils/mac/
H A DSkCreateCGImageRef.cpp277 bool SkCreateBitmapFromCGImage(SkBitmap* dst, CGImageRef image, SkISize* scaleToFit) { argument
278 const int width = scaleToFit ? scaleToFit->width() : SkToInt(CGImageGetWidth(image));
279 const int height = scaleToFit ? scaleToFit->height() : SkToInt(CGImageGetHeight(image));
/external/skia/src/utils/
H A DSkLua.cpp1362 SkMatrix::ScaleToFit scaleToFit = SkMatrix::kFill_ScaleToFit; local
1377 scaleToFit = rec[i].fScaleToFit;
1383 matrix->setRectToRect(srcR, dstR, scaleToFit);

Completed in 115 milliseconds