Searched refs:normSrcRect (Results 1 - 2 of 2) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
H A D | NativeImageSkia.cpp | 206 FloatRect normSrcRect = floatSrcRect; local 207 normSrcRect.intersect(FloatRect(0, 0, bitmap().width(), bitmap().height())); 208 if (destRect.isEmpty() || normSrcRect.isEmpty()) 221 totalMatrix.mapRect(&destRectTarget, normSrcRect); 235 resampling = computeInterpolationQuality(totalMatrix, normSrcRect.width(), normSrcRect.height(), destBitmapWidth, destBitmapHeight, isDataComplete()); 243 const float adjustedX = phase.x() + normSrcRect.x() * scale.width(); 244 const float adjustedY = phase.y() + normSrcRect.y() * scale.height(); 255 float scaleX = destBitmapWidth / normSrcRect.width(); 256 float scaleY = destBitmapHeight / normSrcRect [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | BitmapImage.cpp | 278 FloatRect normSrcRect = adjustForNegativeSize(srcRect); local 279 normSrcRect.intersect(FloatRect(0, 0, image->bitmap().width(), image->bitmap().height())); 281 if (normSrcRect.isEmpty() || normDstRect.isEmpty()) 305 image->draw(ctxt, normSrcRect, normDstRect, compositeOp, blendMode);
|
Completed in 120 milliseconds