/external/chromium_org/third_party/skia/src/image/ |
SkImagePriv.cpp | 150 SkRect tmpSrc; 153 tmpSrc = *src; 155 tmpSrc.set(0, 0, 160 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 168 canvas->clipRect(tmpSrc);
|
/external/skia/src/image/ |
SkImagePriv.cpp | 150 SkRect tmpSrc; 153 tmpSrc = *src; 155 tmpSrc.set(0, 0, 160 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 168 canvas->clipRect(tmpSrc);
|
/external/chromium_org/third_party/skia/src/core/ |
SkDevice.cpp | 382 SkRect bitmapBounds, tmpSrc, tmpDst; 389 tmpSrc = *src; 391 tmpSrc = bitmapBounds; 393 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 398 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if 402 if (!tmpSrc.intersect(bitmapBounds)) { 405 // recompute dst, based on the smaller tmpSrc 406 matrix.mapRect(&tmpDst, tmpSrc); 413 tmpSrc.roundOut(&srcIR); 433 if (extractedBitmapBounds == tmpSrc) { [all...] |
SkBitmap.cpp | 1044 SkBitmap tmpSrc; 1052 if (fPixelRef->readPixels(&tmpSrc, &subset)) { 1053 SkASSERT(tmpSrc.width() == this->width()); 1054 SkASSERT(tmpSrc.height() == this->height()); 1056 // did we get lucky and we can just return tmpSrc? 1057 if (tmpSrc.config() == dstConfig && NULL == alloc) { 1058 dst->swap(tmpSrc); 1066 src = &tmpSrc; [all...] |
SkPaint.cpp | [all...] |
/external/skia/src/core/ |
SkDevice.cpp | 378 SkRect bitmapBounds, tmpSrc, tmpDst; 385 tmpSrc = *src; 387 tmpSrc = bitmapBounds; 389 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 394 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if 398 if (!tmpSrc.intersect(bitmapBounds)) { 401 // recompute dst, based on the smaller tmpSrc 402 matrix.mapRect(&tmpDst, tmpSrc); 409 tmpSrc.roundOut(&srcIR); 429 if (extractedBitmapBounds == tmpSrc) { [all...] |
SkBitmap.cpp | 1044 SkBitmap tmpSrc; 1052 if (fPixelRef->readPixels(&tmpSrc, &subset)) { 1053 SkASSERT(tmpSrc.width() == this->width()); 1054 SkASSERT(tmpSrc.height() == this->height()); 1056 // did we get lucky and we can just return tmpSrc? 1057 if (tmpSrc.config() == dstConfig && NULL == alloc) { 1058 dst->swap(tmpSrc); 1066 src = &tmpSrc; [all...] |
SkPaint.cpp | [all...] |
/external/chromium_org/skia/ext/ |
vector_platform_device_emf_win.cc | 277 SkRect bitmapBounds, tmpSrc, tmpDst; 284 tmpSrc = *src; 286 tmpSrc = bitmapBounds; 288 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 292 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if 296 if (!tmpSrc.intersect(bitmapBounds)) { 299 // recompute dst, based on the smaller tmpSrc 300 matrix.mapRect(&tmpDst, tmpSrc); 307 tmpSrc.roundOut(&srcIR);
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFDevice.cpp | [all...] |
/external/skia/src/pdf/ |
SkPDFDevice.cpp | [all...] |