/external/chromium_org/third_party/skia/src/core/ |
SkBitmapDevice.cpp | 233 SkRect bitmapBounds, tmpSrc, tmpDst; 240 tmpSrc = *src; 242 tmpSrc = bitmapBounds; 244 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 249 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if 253 if (!tmpSrc.intersect(bitmapBounds)) { 256 // recompute dst, based on the smaller tmpSrc 257 matrix.mapRect(&tmpDst, tmpSrc); 264 tmpSrc.roundOut(&srcIR); 290 if (extractedBitmapBounds == tmpSrc) { [all...] |
SkBitmap.cpp | 892 SkBitmap tmpSrc; 899 if (fPixelRef->readPixels(&tmpSrc, &subset)) { 905 SkASSERT(tmpSrc.width() == this->width()); 906 SkASSERT(tmpSrc.height() == this->height()); 908 // did we get lucky and we can just return tmpSrc? 909 if (tmpSrc.colorType() == dstColorType && NULL == alloc) { 910 dst->swap(tmpSrc); 919 src = &tmpSrc; [all...] |
SkPaint.cpp | [all...] |
/external/skia/src/core/ |
SkBitmapDevice.cpp | 317 SkRect bitmapBounds, tmpSrc, tmpDst; 324 tmpSrc = *src; 326 tmpSrc = bitmapBounds; 328 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 333 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if 337 if (!tmpSrc.intersect(bitmapBounds)) { 340 // recompute dst, based on the smaller tmpSrc 341 matrix.mapRect(&tmpDst, tmpSrc); 348 tmpSrc.roundOut(&srcIR); 368 if (extractedBitmapBounds == tmpSrc) { [all...] |
SkBitmap.cpp | 907 SkBitmap tmpSrc; 914 if (fPixelRef->readPixels(&tmpSrc, &subset)) { 920 SkASSERT(tmpSrc.width() == this->width()); 921 SkASSERT(tmpSrc.height() == this->height()); 923 // did we get lucky and we can just return tmpSrc? 924 if (tmpSrc.colorType() == dstColorType && NULL == alloc) { 925 dst->swap(tmpSrc); 934 src = &tmpSrc; [all...] |
SkPaint.cpp | [all...] |
/external/chromium_org/skia/ext/ |
vector_platform_device_emf_win.cc | 270 SkRect bitmapBounds, tmpSrc, tmpDst; 277 tmpSrc = *src; 279 tmpSrc = bitmapBounds; 281 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 285 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if 289 if (!tmpSrc.intersect(bitmapBounds)) { 292 // recompute dst, based on the smaller tmpSrc 293 matrix.mapRect(&tmpDst, tmpSrc); 300 tmpSrc.roundOut(&srcIR);
|
/external/chromium_org/third_party/skia/src/gpu/ |
SkGpuDevice.cpp | [all...] |
/external/skia/src/gpu/ |
SkGpuDevice.cpp | [all...] |
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFDevice.cpp | [all...] |
/external/skia/src/pdf/ |
SkPDFDevice.cpp | [all...] |