/external/chromium_org/third_party/WebKit/Source/core/paint/ |
H A D | SVGImagePainter.cpp | 59 FloatRect destRect = renderer.objectBoundingBox(); local 63 imageElement->preserveAspectRatio()->currentValue()->transformRect(destRect, srcRect); 67 interpolationQuality = ImageQualityController::imageQualityController()->chooseInterpolationQuality(paintInfo.context, &renderer, image.get(), image.get(), LayoutSize(destRect.size())); 71 paintInfo.context->drawImage(image.get(), destRect, srcRect, CompositeSourceOver);
|
H A D | BackgroundImageGeometry.h | 26 IntRect destRect() const { return m_destRect; } function in class:blink::BackgroundImageGeometry 27 void setDestRect(const IntRect& destRect) argument 29 m_destRect = destRect; 74 bool m_hasNonLocalGeometry; // Has background-attachment: fixed. Implies that we can't always cheaply compute destRect.
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | GradientGeneratedImage.cpp | 34 void GradientGeneratedImage::draw(GraphicsContext* destContext, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator compositeOp, WebBlendMode blendMode) argument 38 destContext->clip(destRect); 39 destContext->translate(destRect.x(), destRect.y()); 40 if (destRect.size() != srcRect.size()) 41 destContext->scale(destRect.width() / srcRect.width(), destRect.height() / srcRect.height()); 48 const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& destRect, WebBlendMode blendMode, const IntSize& repeatSpacing) 52 int firstColumn = static_cast<int>(floorf((((destRect.x() - phase.x()) / scale.width()) - srcRect.x()) / srcRect.width())); 53 int firstRow = static_cast<int>(floorf((((destRect 47 drawPattern(GraphicsContext* destContext, const FloatRect& srcRect, const FloatSize& scale, const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& destRect, WebBlendMode blendMode, const IntSize& repeatSpacing) argument [all...] |
H A D | Image.cpp | 124 void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& destRect, const FloatPoint& srcPoint, const FloatSize& scaledTileSize, CompositeOperator op, WebBlendMode blendMode, const IntSize& repeatSpacing) argument 127 fillWithSolidColor(ctxt, destRect, solidColor(), op); 145 oneTileRect.setX(destRect.x() + fmodf(fmodf(-srcPoint.x(), actualTileSize.width()) - actualTileSize.width(), actualTileSize.width())); 146 oneTileRect.setY(destRect.y() + fmodf(fmodf(-srcPoint.y(), actualTileSize.height()) - actualTileSize.height(), actualTileSize.height())); 150 if (oneTileRect.contains(destRect)) { 152 visibleSrcRect.setX((destRect.x() - oneTileRect.x()) / scale.width()); 153 visibleSrcRect.setY((destRect.y() - oneTileRect.y()) / scale.height()); 154 visibleSrcRect.setWidth(destRect.width() / scale.width()); 155 visibleSrcRect.setHeight(destRect.height() / scale.height()); 156 draw(ctxt, destRect, visibleSrcRec 225 drawPattern(GraphicsContext* context, const FloatRect& floatSrcRect, const FloatSize& scale, const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& destRect, WebBlendMode blendMode, const IntSize& repeatSpacing) argument [all...] |
H A D | ImageBuffer.cpp | 256 void ImageBuffer::draw(GraphicsContext* context, const FloatRect& destRect, const FloatRect* srcPtr, CompositeOperator op, WebBlendMode blendMode) argument 264 context->drawPicture(picture.release(), destRect, srcRect, op, blendMode); 278 context->drawImage(image.get(), destRect, srcRect, op, blendMode, DoNotRespectImageOrientation); 289 const FloatPoint& phase, CompositeOperator op, const FloatRect& destRect, WebBlendMode blendMode, const IntSize& repeatSpacing) 296 image->drawPattern(context, srcRect, scale, phase, op, destRect, blendMode, repeatSpacing); 288 drawPattern(GraphicsContext* context, const FloatRect& srcRect, const FloatSize& scale, const FloatPoint& phase, CompositeOperator op, const FloatRect& destRect, WebBlendMode blendMode, const IntSize& repeatSpacing) argument
|
H A D | GraphicsContext.cpp | 1101 void GraphicsContext::drawTiledImage(Image* image, const IntRect& destRect, const IntPoint& srcPoint, const IntSize& tileSize, CompositeOperator op, WebBlendMode blendMode, const IntSize& repeatSpacing) argument 1105 image->drawTiled(this, destRect, srcPoint, tileSize, op, blendMode, repeatSpacing); 1667 void GraphicsContext::setURLForRect(const KURL& link, const IntRect& destRect) argument 1674 SkAnnotateRectWithURL(m_canvas, destRect, url.get()); 1974 const SkRect& destRect, 1984 paint->setAntiAlias(shouldDrawAntiAliased(this, destRect)); 1995 SkRect destRectTarget = destRect; 1998 totalMatrix.mapRect(&destRectTarget, destRect); 1971 preparePaintForDrawRectToRect( SkPaint* paint, const SkRect& srcRect, const SkRect& destRect, CompositeOperator compositeOp, WebBlendMode blendMode, bool isLazyDecoded, bool isDataComplete) const argument
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/ |
H A D | SVGFEImage.cpp | 93 FloatRect destRect = filter()->mapLocalRectToAbsoluteRect(filterPrimitiveSubregion()); local 104 srcRect = makeMapBetweenRects(FloatRect(FloatPoint(), viewportSize), destRect).mapRect(srcRect); 108 srcRect.move(destRect.x(), destRect.y()); 110 destRect.intersect(srcRect); 113 m_preserveAspectRatio->transformRect(destRect, srcRect); 116 destRect.intersect(requestedRect); 117 addAbsolutePaintRect(destRect); 118 return destRect; 146 FloatRect destRect local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGPreserveAspectRatio.cpp | 199 void SVGPreserveAspectRatio::transformRect(FloatRect& destRect, FloatRect& srcRect) argument 205 float origDestWidth = destRect.width(); 206 float origDestHeight = destRect.height(); 213 destRect.setHeight(origDestWidth * widthToHeightMultiplier); 218 destRect.setY(destRect.y() + origDestHeight / 2 - destRect.height() / 2); 223 destRect.setY(destRect.y() + origDestHeight - destRect [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | FloatRect.cpp | 251 FloatRect mapRect(const FloatRect& r, const FloatRect& srcRect, const FloatRect& destRect) argument 256 float widthScale = destRect.width() / srcRect.width(); 257 float heightScale = destRect.height() / srcRect.height(); 258 return FloatRect(destRect.x() + (r.x() - srcRect.x()) * widthScale, 259 destRect.y() + (r.y() - srcRect.y()) * heightScale,
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FEComponentTransfer.cpp | 168 IntRect destRect = drawingRegionOfInputImage(in->absolutePaintRect()); local 172 resultImage->context()->drawBitmap(nativeImage->bitmap(), destRect.x(), destRect.y(), &paint); 176 resultImage->context()->clipOut(destRect);
|
H A D | FilterEffect.cpp | 115 FloatRect FilterEffect::getSourceRect(const FloatRect& destRect, const FloatRect& destClipRect) argument 117 FloatRect sourceRect = mapRect(destRect, false);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
H A D | NativeImageSkia.cpp | 160 const SkRect& destRect, 169 context->preparePaintForDrawRectToRect(&paint, srcRect, destRect, compositeOp, blendMode, isLazyDecoded, isDataComplete()); 174 context->drawBitmapRect(bitmap(), &srcRect, destRect, &paint); local 178 context->didDrawRect(destRect, paint, &bitmap()); 202 const FloatRect& destRect, 208 if (destRect.isEmpty() || normSrcRect.isEmpty()) 305 context->drawRect(destRect, paint); 157 draw( GraphicsContext* context, const SkRect& srcRect, const SkRect& destRect, CompositeOperator compositeOp, WebBlendMode blendMode) const argument 196 drawPattern( GraphicsContext* context, const FloatRect& floatSrcRect, const FloatSize& scale, const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& destRect, WebBlendMode blendMode, const IntSize& repeatSpacing) const argument
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
H A D | Blit9.cpp | 300 RECT destRect = {xoffset, yoffset, xoffset + (sourceRect.right - sourceRect.left), yoffset + (sourceRect.bottom - sourceRect.top)}; local 301 HRESULT result = device->StretchRect(source, &sourceRect, dest, &destRect, D3DTEXF_POINT);
|
H A D | Image9.cpp | 505 RECT destRect = {xoffset, yoffset, xoffset + width, yoffset + height}; local 519 result = lock(&destLock, &destRect);
|
/external/pdfium/core/src/fxge/Microsoft SDK/include/ |
H A D | GdiPlusGraphics.h | 1782 IN const RectF& destRect,
1795 destRect.X,
1796 destRect.Y,
1797 destRect.Width,
1798 destRect.Height,
1859 IN const Rect& destRect,
1872 destRect.X,
1873 destRect.Y,
1874 destRect.Width,
1875 destRect 1781 DrawImage(IN Image* image, IN const RectF& destRect, IN REAL srcx, IN REAL srcy, IN REAL srcwidth, IN REAL srcheight, IN Unit srcUnit, IN const ImageAttributes* imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID* callbackData = NULL) argument 1858 DrawImage(IN Image* image, IN const Rect& destRect, IN INT srcx, IN INT srcy, IN INT srcwidth, IN INT srcheight, IN Unit srcUnit, IN const ImageAttributes* imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID* callbackData = NULL) argument 1960 EnumerateMetafile( IN const Metafile * metafile, IN const RectF & destRect, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 1978 EnumerateMetafile( IN const Metafile * metafile, IN const Rect & destRect, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 2080 EnumerateMetafile( IN const Metafile * metafile, IN const RectF & destRect, IN const RectF & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 2102 EnumerateMetafile( IN const Metafile * metafile, IN const Rect & destRect, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | CanvasRenderingContext2D.cpp | 1871 IntRect destRect = enclosingIntRect(clipRect); local 1872 destRect.move(destOffset); 1873 destRect.intersect(IntRect(IntPoint(), buffer->size())); 1874 if (destRect.isEmpty()) 1876 IntRect sourceRect(destRect); 1881 didDraw(destRect);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/include/ |
H A D | svga_reg.h | 1228 SVGASignedRect destRect; member in struct:__anon14112
|
H A D | svga3d_reg.h | 1711 * specified, there is no clipping region. The entire destRect is 1714 * relative to the top-left corner of destRect. 1741 SVGASignedRect destRect; /* Supports scaling if src/rest different size */ member in struct:__anon14040
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
H A D | svga_reg.h | 1228 SVGASignedRect destRect; member in struct:__anon27523
|
H A D | svga3d_reg.h | 1711 * specified, there is no clipping region. The entire destRect is 1714 * relative to the top-left corner of destRect. 1741 SVGASignedRect destRect; /* Supports scaling if src/rest different size */ member in struct:__anon27451
|
/external/chromium_org/third_party/android_platform/webview/ |
H A D | frameworks.jar | META-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ... |