Home
last modified time | relevance | path

Searched refs:imageSubset (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/pdf/
DSkPDFDevice.cpp1780 void SkPDFDevice::internalDrawImageRect(SkKeyedImage imageSubset, in internalDrawImageRect() argument
1788 if (!imageSubset) { in internalDrawImageRect()
1793 SkIRect bounds = imageSubset.image()->bounds(); in internalDrawImageRect()
1804 if (bounds != imageSubset.image()->bounds()) { in internalDrawImageRect()
1805 imageSubset = imageSubset.subset(bounds); in internalDrawImageRect()
1807 if (!imageSubset) { in internalDrawImageRect()
1815 if (imageSubset.image()->isOpaque()) { in internalDrawImageRect()
1821 if (imageSubset.image()->isAlphaOnly() && paint.getColorFilter()) { in internalDrawImageRect()
1824 SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(imageSubset.image()->dimensions())); in internalDrawImageRect()
1832 canvas->drawImage(imageSubset.image().get(), 0, 0, &tmpPaint); in internalDrawImageRect()
[all …]
/external/skqp/src/pdf/
DSkPDFDevice.cpp1793 void SkPDFDevice::internalDrawImageRect(SkKeyedImage imageSubset, in internalDrawImageRect() argument
1801 if (!imageSubset) { in internalDrawImageRect()
1806 SkIRect bounds = imageSubset.image()->bounds(); in internalDrawImageRect()
1817 if (bounds != imageSubset.image()->bounds()) { in internalDrawImageRect()
1818 imageSubset = imageSubset.subset(bounds); in internalDrawImageRect()
1820 if (!imageSubset) { in internalDrawImageRect()
1828 if (imageSubset.image()->isOpaque()) { in internalDrawImageRect()
1834 if (imageSubset.image()->isAlphaOnly() && paint.getColorFilter()) { in internalDrawImageRect()
1837 SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(imageSubset.image()->dimensions())); in internalDrawImageRect()
1845 canvas->drawImage(imageSubset.image().get(), 0, 0, &tmpPaint); in internalDrawImageRect()
[all …]