Home
last modified time | relevance | path

Searched refs:imageRect (Results 1 – 25 of 29) sorted by relevance

12

/external/webkit/WebCore/platform/graphics/filters/
DFEGaussianBlur.cpp125 IntRect imageRect(IntPoint(), resultImage()->size()); in apply() local
126 RefPtr<ImageData> tmpImageData = ImageData::create(imageRect.width(), imageRect.height()); in apply()
129 int stride = 4 * imageRect.width(); in apply()
131 …boxBlur(srcPixelArray, tmpPixelArray, sdx, 4, stride, imageRect.width(), imageRect.height(), isAlp… in apply()
132 …boxBlur(tmpPixelArray, srcPixelArray, sdy, stride, 4, imageRect.height(), imageRect.width(), isAlp… in apply()
135 resultImage()->putPremultipliedImageData(srcImageData.get(), imageRect, IntPoint()); in apply()
DSourceAlpha.cpp66 FloatRect imageRect(FloatPoint(), filter->sourceImage()->image()->size()); in apply() local
68 filterContext->clipToImageBuffer(imageRect, filter->sourceImage()); in apply()
69 filterContext->fillRect(imageRect, Color::black, DeviceColorSpace); in apply()
DFEBlend.cpp120 IntRect imageRect(IntPoint(), resultImage()->size()); in apply() local
121 RefPtr<ImageData> imageData = ImageData::create(imageRect.width(), imageRect.height()); in apply()
141 resultImage()->putPremultipliedImageData(imageData.get(), imageRect, IntPoint()); in apply()
DFEColorMatrix.cpp169 IntRect imageRect(IntPoint(), resultImage()->size()); in apply() local
170 PassRefPtr<ImageData> imageData(resultImage()->getUnmultipliedImageData(imageRect)); in apply()
191 resultImage()->putUnmultipliedImageData(imageData.get(), imageRect, IntPoint()); in apply()
/external/webkit/WebCore/svg/graphics/filters/
DSVGFEDisplacementMap.cpp102 IntRect imageRect(IntPoint(), resultImage()->size()); in apply() local
103 RefPtr<ImageData> imageData = ImageData::create(imageRect.width(), imageRect.height()); in apply()
111 int stride = imageRect.width() * 4; in apply()
112 for (int y = 0; y < imageRect.height(); ++y) { in apply()
114 for (int x = 0; x < imageRect.width(); ++x) { in apply()
119 if (srcX < 0 || srcX >= imageRect.width() || srcY < 0 || srcY >= imageRect.height()) in apply()
129 resultImage()->putPremultipliedImageData(imageData.get(), imageRect, IntPoint()); in apply()
DSVGFEMorphology.cpp98 IntRect imageRect(IntPoint(), resultImage()->size()); in apply() local
101 RefPtr<ImageData> imageData = ImageData::create(imageRect.width(), imageRect.height()); in apply()
152 resultImage()->putPremultipliedImageData(imageData.get(), imageRect, IntPoint()); in apply()
/external/webkit/WebCore/css/
DCSSBorderImageValue.cpp29 CSSBorderImageValue::CSSBorderImageValue(PassRefPtr<CSSValue> image, PassRefPtr<Rect> imageRect, in… in CSSBorderImageValue() argument
31 , m_imageSliceRect(imageRect) in CSSBorderImageValue()
/external/webkit/WebKit/android/WebCoreSupport/
DFrameLoaderClientAndroid.cpp1038 IntRect imageRect(x(), y(), image->width(), image->height()); in paint() local
1040 int xOffset = (width() - imageRect.width()) >> 1; in paint()
1041 int yOffset = (height() - imageRect.height()) >> 1; in paint()
1043 imageRect.move(xOffset, yOffset); in paint()
1045 if (!rect.intersects(imageRect)) in paint()
1058 if (frameRect().contains(imageRect)) { in paint()
1069 ctx->drawImage(image.get(), DeviceColorSpace, imageRect.location()); in paint()
/external/webkit/WebCore/page/
DDragController.cpp668 IntRect imageRect = dragSource.imageRect(); in startDrag() local
669imageRect.setLocation(m_page->mainFrame()->view()->windowToContents(src->view()->contentsToWindow( in startDrag()
670 doImageDrag(element, dragOrigin, dragSource.imageRect(), clipboard, src, m_dragOffset); in startDrag()
DFrame.h284 NSImage* snapshotDragImage(Node*, NSRect* imageRect, NSRect* elementRect) const;
/external/webkit/WebCore/plugins/
DPluginView.cpp1321 …IntRect imageRect(frameRect().x(), frameRect().y(), nullPluginImage->width(), nullPluginImage->hei… in paintMissingPluginIcon() local
1323 int xOffset = (frameRect().width() - imageRect.width()) / 2; in paintMissingPluginIcon()
1324 int yOffset = (frameRect().height() - imageRect.height()) / 2; in paintMissingPluginIcon()
1326 imageRect.move(xOffset, yOffset); in paintMissingPluginIcon()
1328 if (!rect.intersects(imageRect)) in paintMissingPluginIcon()
1333 context->drawImage(nullPluginImage.get(), DeviceColorSpace, imageRect.location()); in paintMissingPluginIcon()
/external/webkit/WebCore/platform/mac/
DClipboardMac.mm405 NSRect imageRect;
407 result = m_frame->snapshotDragImage(m_dragImageElement.get(), &imageRect, &elementRect);
410 loc.x = elementRect.origin.x - imageRect.origin.x + m_dragLoc.x();
411 loc.y = elementRect.origin.y - imageRect.origin.y + m_dragLoc.y();
412 loc.y = imageRect.size.height - loc.y;
/external/webkit/WebCore/loader/
DCachedImage.h61 …IntRect imageRect(float multiplier) const; // The size of the currently decoded portion of the im…
DCachedImage.cpp195 IntRect CachedImage::imageRect(float multiplier) const in imageRect() function in WebCore::CachedImage
/external/webkit/WebCore/rendering/
DHitTestResult.h71 IntRect imageRect() const;
DHitTestResult.cpp234 IntRect HitTestResult::imageRect() const in imageRect() function in WebCore::HitTestResult
DRenderMediaControlsChromium.cpp65 IntRect imageRect = image->rect(); in paintMediaButton() local
DRenderBox.cpp844 FloatRect imageRect(tx + x(), rootRect.y(), width(), rootRect.height()); in paintCustomHighlight() local
845 …page->chrome()->client()->paintCustomHighlight(node(), type, imageRect, rootRect, behindText, fals… in paintCustomHighlight()
847 FloatRect imageRect(tx + x(), ty + y(), width(), height()); in paintCustomHighlight() local
848 …page->chrome()->client()->paintCustomHighlight(node(), type, imageRect, imageRect, behindText, fal… in paintCustomHighlight()
/external/webkit/WebKit/qt/tests/qwebelement/
Dtst_qwebelement.cpp969 QRect imageRect(0, 0, resource.width(), resource.height()); in render() local
973 painter0.fillRect(imageRect, Qt::white); in render()
982 painter1.fillRect(imageRect, Qt::white); in render()
991 painter2.fillRect(imageRect, Qt::white); in render()
/external/webkit/WebCore/page/mac/
DFrameMac.mm358 NSImage* Frame::snapshotDragImage(Node* node, NSRect* imageRect, NSRect* elementRect) const
378 if (imageRect)
379 *imageRect = paintingRect;
/external/webkit/WebKit/mac/Misc/
DWebElementDictionary.mm208 IntRect rect = _result->imageRect();
/external/webkit/WebCore/html/canvas/
DCanvasRenderingContext2D.cpp976 FloatRect imageRect = FloatRect(FloatPoint(), size(image)); in drawImage() local
977 …if (!imageRect.contains(normalizeRect(srcRect)) || srcRect.width() == 0 || srcRect.height() == 0) { in drawImage()
/external/webkit/WebKit/mac/
DChangeLog-2002-12-035146 Reverse targetRect and imageRect.
DChangeLog-2007-10-148359 Call HitTestResult::imageRect, not HitTestResult::boundingBox.
/external/webkit/WebCore/
DChangeLog-2008-08-10600 (WebCore::CachedImage::imageRect):
38775 (WebCore::CachedImage::imageRect):
39486 (WebCore::CachedImage::imageRect):

12