OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:normsrcrect
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/skia/
NativeImageSkia.cpp
389
FloatRect
normSrcRect
= floatSrcRect;
390
normSrcRect
.intersect(FloatRect(0, 0, bitmap().width(), bitmap().height()));
391
if (destRect.isEmpty() ||
normSrcRect
.isEmpty())
403
totalMatrix.mapRect(&destRectTarget,
normSrcRect
);
413
resampling = computeResamplingMode(totalMatrix,
normSrcRect
.width(),
normSrcRect
.height(), destBitmapWidth, destBitmapHeight);
425
float scaleX = destBitmapWidth /
normSrcRect
.width();
426
float scaleY = destBitmapHeight /
normSrcRect
.height();
433
SkBitmap resampled = extractScaledImageFragment(
normSrcRect
, scaleX, scaleY, &scaledSrcRect);
446
bitmap().extractSubset(&srcSubset, enclosingIntRect(
normSrcRect
));
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
BitmapImage.cpp
305
FloatRect
normSrcRect
= adjustForNegativeSize(srcRect);
306
normSrcRect
.intersect(FloatRect(0, 0, bm->bitmap().width(), bm->bitmap().height()));
308
if (
normSrcRect
.isEmpty() || normDstRect.isEmpty())
332
bm->draw(ctxt,
normSrcRect
, normDstRect, WebCoreCompositeToSkiaComposite(compositeOp, blendMode));
Completed in 1671 milliseconds