/external/chromium_org/third_party/skia/src/core/ |
SkBitmapDevice.cpp | 245 SkRect bitmapBounds, tmpSrc, tmpDst; 252 tmpSrc = *src; 254 tmpSrc = bitmapBounds; 256 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 261 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if 265 if (!tmpSrc.intersect(bitmapBounds)) { 268 // recompute dst, based on the smaller tmpSrc 269 matrix.mapRect(&tmpDst, tmpSrc); 276 tmpSrc.roundOut(&srcIR); 296 if (extractedBitmapBounds == tmpSrc) { [all...] |
SkBitmap.cpp | 960 SkBitmap tmpSrc; 967 if (fPixelRef->readPixels(&tmpSrc, &subset)) { 973 SkASSERT(tmpSrc.width() == this->width()); 974 SkASSERT(tmpSrc.height() == this->height()); 976 // did we get lucky and we can just return tmpSrc? 977 if (tmpSrc.colorType() == dstColorType && NULL == alloc) { 978 dst->swap(tmpSrc); 987 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); [all...] |
/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...] |